Class: MapFixInfoWaypointIcon<T>
Defined in: workingtitle-instruments-wt21/shared/Map/MapTod.ts:107
An icon for a fix info waypoint.
Extends
AbstractMapWaypointIcon
<T
>
Type Parameters
Type Parameter |
---|
T extends Waypoint |
Constructors
Constructor
new MapFixInfoWaypointIcon<
T
>(waypoint
,mapStyles
,clipPathStream
):MapFixInfoWaypointIcon
<T
>
Defined in: workingtitle-instruments-wt21/shared/Map/MapTod.ts:135
Constructor.
Parameters
Parameter | Type | Description |
---|---|---|
waypoint | T | The waypoint. |
mapStyles | WT21MapStyles | The map styles. |
clipPathStream | ClippedPathStream | The path stream to draw to. |
Returns
MapFixInfoWaypointIcon
<T
>
Overrides
AbstractMapWaypointIcon<T>.constructor
Properties
anchor
readonly
anchor:Subscribable
<Readonly
<Omit
<Float64Array
,"set"
|"sort"
|"copyWithin"
>>>
Defined in: sdk/components/map/MapWaypointIcon.ts:86
The anchor point of this icon, expressed relative to its width and height. [0, 0] is the top-left corner, and [1, 1] is the bottom-right corner.
Inherited from
AbstractMapWaypointIcon.anchor
offset
readonly
offset:Subscribable
<Readonly
<Omit
<Float64Array
,"set"
|"sort"
|"copyWithin"
>>>
Defined in: sdk/components/map/MapWaypointIcon.ts:89
The offset of this icon from the projected position of its associated waypoint, as [x, y]
in pixels.
Inherited from
AbstractMapWaypointIcon.offset
priority
readonly
priority:Subscribable
<number
>
Defined in: sdk/components/map/MapWaypointIcon.ts:77
Inherit Doc
Inherited from
AbstractMapWaypointIcon.priority
size
readonly
size:Subscribable
<Readonly
<Omit
<Float64Array
,"set"
|"sort"
|"copyWithin"
>>>
Defined in: sdk/components/map/MapWaypointIcon.ts:80
The size of this icon, as [width, height]
in pixels.
Inherited from
AbstractMapWaypointIcon.size
waypoint
readonly
waypoint:T
Defined in: sdk/components/map/MapWaypointIcon.ts:100
The waypoint associated with this icon.
Inherited from
AbstractMapWaypointIcon.waypoint
tempVec2
protected
readonly
static
tempVec2:Float64Array
Defined in: sdk/components/map/MapWaypointIcon.ts:74
Inherited from
AbstractMapWaypointIcon.tempVec2
Methods
draw()
draw(
context
,mapProjection
):void
Defined in: sdk/components/map/MapWaypointIcon.ts:113
Parameters
Parameter | Type |
---|---|
context | CanvasRenderingContext2D |
mapProjection | MapProjection |
Returns
void
Inherit Doc
Inherited from
AbstractMapWaypointIcon.draw
drawIconAt()
protected
drawIconAt(context
,mapProjection
,x
,y
):void
Defined in: workingtitle-instruments-wt21/shared/Map/MapTod.ts:146
Parameters
Parameter | Type |
---|---|
context | CanvasRenderingContext2D |
mapProjection | MapProjection |
x | number |
y | number |
Returns
void
Inherit Doc
Overrides
AbstractMapWaypointIcon.drawIconAt