Reference for get_is_finished
Determine if a shape is finished. 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_is_finished
Sound (future)
Style
System
Text
Transform
Purpose
Determine if the shape is finished so can be drawn. Returns true if finished (can be drawn) and false otherwise (still building). A shape cannot be drawn until it is finished which can be accomplished by either calling end or close.
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(shape.get_is_finished())
Availability
Available for all platforms.