Logo FSBarV1_Archived

OverlayPrimitive Type

Declarative overlay primitive. One case per supported Skia draw call.

Union cases

Union case Description

Circle(center, radius, style, space)

Full Usage: Circle(center, radius, style, space)

Parameters:
center : OverlayPoint
radius : float32
style : OverlayStyle
space : CoordinateSpace

Image(anchor, width, height, bytes, space)

Full Usage: Image(anchor, width, height, bytes, space)

Parameters:
anchor : OverlayPoint
width : int
height : int
bytes : byte array
space : CoordinateSpace

Line(from, to, style, space)

Full Usage: Line(from, to, style, space)

Parameters:

Path(verbs, style, space)

Full Usage: Path(verbs, style, space)

Parameters:
verbs : PathVerb list
style : OverlayStyle
space : CoordinateSpace

Polygon(points, style, space)

Full Usage: Polygon(points, style, space)

Parameters:
points : OverlayPoint list
style : OverlayStyle
space : CoordinateSpace

Polyline(points, style, space)

Full Usage: Polyline(points, style, space)

Parameters:
points : OverlayPoint list
style : OverlayStyle
space : CoordinateSpace

Rectangle(x, y, w, h, cornerRadius, style, space)

Full Usage: Rectangle(x, y, w, h, cornerRadius, style, space)

Parameters:
x : float32
y : float32
w : float32
h : float32
cornerRadius : float32
style : OverlayStyle
space : CoordinateSpace

Text(anchor, text, fontSize, fontFamily, align, style, space)

Full Usage: Text(anchor, text, fontSize, fontFamily, align, style, space)

Parameters:
anchor : OverlayPoint
text : string
fontSize : float32
fontFamily : string
align : TextAlign
style : OverlayStyle
space : CoordinateSpace

Instance members

Instance member Description

this.IsCircle

Full Usage: this.IsCircle

Returns: bool
Returns: bool

this.IsImage

Full Usage: this.IsImage

Returns: bool
Returns: bool

this.IsLine

Full Usage: this.IsLine

Returns: bool
Returns: bool

this.IsPath

Full Usage: this.IsPath

Returns: bool
Returns: bool

this.IsPolygon

Full Usage: this.IsPolygon

Returns: bool
Returns: bool

this.IsPolyline

Full Usage: this.IsPolyline

Returns: bool
Returns: bool

this.IsRectangle

Full Usage: this.IsRectangle

Returns: bool
Returns: bool

this.IsText

Full Usage: this.IsText

Returns: bool
Returns: bool

Type something to start searching.