.. include:: ../_header.rst Shape ----- .. toctree:: shape-rectangle-object shape-ellipse-object shape-triangle-object shape-polygon-object The Shape objects are geometric-based display objects. You can add them to a Scene, a Container or a Group. All Shape objects extends the `Phaser.GameObjects.Shape `_ class and share these common properties: * `Variable properties `_ * `Lists properties `_ * `Transform properties `_ * `Origin properties `_ * `Size properties `_ * `Visible property `_ * `Alpha properties `_ But they have the following properties: .. image:: ../images/scene-editor-shape-properties-11092020.webp :alt: Shape properties. * `Is Filled `_: Controls if this Shape is filled or not. Note that some Shapes do not support being filled (such as Line shapes). * `Fill Color `_: The fill color used by this Shape. * `Fill Alpha `_: The fill alpha value used by this Shape. * `Is Stroked `_: Controls if this Shape is stroked or not. Note that some Shapes do not support being stroked (such as Iso Box shapes). * `Stroke Color `_: The stroke color used by this Shape. * `Stroke Alpha `_: The stroke alpha value used by this Shape. * `Line Width `_: The stroke line width used by this Shape.