PolyRectangle2D

Inherits: PolyNode2D < Node2D < CanvasItem < Node < Object

A rectangle PolyNode2D shape.

Description

Builds a rectangle-based outline.

Properties

Vector2 extents Vector2( 32, 32 )

Property Descriptions

Default Vector2( 32, 32 )
Setter set_extents(value)
Getter get_extents()

The rectangle’s half extents. The width and height of this shape is twice the half extents.