HI all

HI all
I have a problem with the following code in Tokyo FMX
image1.Bitmap.canvas.StrokeThickness

i.e undeclared identifier strokethickness
what unit is that now shifted to? (I have FMX.graphics in the uses)
thanks :)

Comments

  1. ok, thanks for checking. The online sample code, for Tokyo,are wrong then ;) . Why was it changed in the first place (just curious)

    ReplyDelete
  2. Not sure TBH; I think both have existed in parallel for some time (see also Cap, Dash, Join, where Berlin has eg StrokeCap and Stroke.Cap.) I would hazard a guess that a stroke property belongs on the stroke object, not the canvas object, and so it was refactored for that reason.

    ReplyDelete
  3. cool ,stroke.thickness works in Seattle, so that makes things easier to port to Tokyo :)

    ReplyDelete

Post a Comment