Reference for get_start_x
Retrieve the first x coordinate of this shape. This is part of the reference section.
Arc
Buffer
Data
Dialog
Ellipse
Geo Utils
Image
Joystick (future)
Keyboard
Line
Mouse / Touchscreen
Pixel
Rectangle
Renderers
Shape
get_start_x
Sound (future)
Style
System
Text
Transform
Purpose
Get the horizontal coordinate from which the first segment draws.
Snippet
Inspect a closed shape.
shape = sketch.start_shape(50, 100) shape.add_line_to(150, 200) shape.add_line_to(150, 250) shape.close() print(len(shape.get_start_x()))
Availability
Available for all platforms.