BaseBoxShapeUtil
Public Class
Table of Contents
Signature
abstract class BaseBoxShapeUtil<
Shape extends TLBaseBoxShape
> extends ShapeUtil<Shape> {}
References
Properties
onResize
Public Property
Signature
onResize: TLOnResizeHandler<any>
References
Methods
getBounds()
Public Method
Parameters
Name | Description |
---|---|
|
|
Returns
Box2d
References
getCenter()
Public Method
Parameters
Name | Description |
---|---|
|
|
Returns
Vec2d
References
getOutline()
Public Method
Parameters
Name | Description |
---|---|
|
|
Returns
Vec2d[]
References
hitTestLineSegment()
Public Method
Parameters
Name | Description |
---|---|
|
|
|
|
|
|
Returns
boolean
References
hitTestPoint()
Public Method
Parameters
Name | Description |
---|---|
|
|
|
|
Returns
boolean