HighlightShapeUtil
Public Class
Table of Contents
Signature
class HighlightShapeUtil extends ShapeUtil<TLHighlightShape> {}
References
Properties
hideResizeHandles
Public Property
Signature
hideResizeHandles: (shape: TLHighlightShape) => boolean
References
hideRotateHandle
Public Property
Signature
hideRotateHandle: (shape: TLHighlightShape) => boolean
References
hideSelectionBoundsBg
Public Property
Signature
hideSelectionBoundsBg: (shape: TLHighlightShape) => boolean
References
hideSelectionBoundsFg
Public Property
Signature
hideSelectionBoundsFg: (shape: TLHighlightShape) => boolean
References
onResize
Public Property
Signature
onResize: TLOnResizeHandler<TLHighlightShape>
References
TLOnResizeHandler, TLHighlightShape
type
Public Static Property
Signature
static type: 'highlight'
Methods
defaultProps()
Public Method
Parameters
None
Returns
TLHighlightShape['props']
References
expandSelectionOutlinePx()
Public Method
Parameters
Name | Description |
---|---|
|
|
Returns
number
References
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
References
indicator()
Public Method
Parameters
Name | Description |
---|---|
|
|
Returns
JSX.Element
References
render()
Public Method
Parameters
Name | Description |
---|---|
|
|
Returns
JSX.Element
References
renderBackground()
Public Method
Parameters
Name | Description |
---|---|
|
|
Returns
JSX.Element
References
toBackgroundSvg()
Public Method
Parameters
Name | Description |
---|---|
|
|
|
|
|
|
Returns
SVGPathElement
References
TLHighlightShape, TLExportColors, SVGPathElement
toSvg()
Public Method
Parameters
Name | Description |
---|---|
|
|
|
|
|
|
Returns
SVGPathElement
References
TLHighlightShape, TLExportColors, SVGPathElement