Search
Preparing search index...
The search index is not available
Canevas - v4.4.2
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Canevas - v4.4.2
BoxShape
Class BoxShape
A shape representing a square.
Hierarchy
Shape
BoxShape
Index
Constructors
constructor
Properties
height
type
width
Methods
render
Constructors
constructor
new
Box
Shape
(
options
?:
BoxShapeOptions
)
:
BoxShape
Parameters
options:
BoxShapeOptions
= {}
Returns
BoxShape
Properties
height
height
:
number
= 1.0
type
type
:
string
= 'BoxShape'
width
width
:
number
= 1.0
Methods
render
render
(
context
:
CanvasRenderingContext2D
)
:
void
Render the shape.
Parameters
context:
CanvasRenderingContext2D
Returns
void
Exports
Box
Shape
constructor
height
type
width
render
Generated using
TypeDoc
A shape representing a square.