Logo FS-Skia-UI

Scene Module

Public contract module exposed by this FS.Skia.UI package.

Functions and values

Function or value Description

arc bounds startAngle sweepAngle paint

Full Usage: arc bounds startAngle sweepAngle paint

Parameters:
    bounds : Rect
    startAngle : float
    sweepAngle : float
    paint : Paint

Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

bounds : Rect
startAngle : float
sweepAngle : float
paint : Paint
Returns: Scene

chart values

Full Usage: chart values

Parameters:
    values : float list

Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

values : float list
Returns: Scene

circle center radius fill

Full Usage: circle center radius fill

Parameters:
Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

center : Point
radius : float
fill : Color
Returns: Scene

circleEvidence outputSize center radius fill

Full Usage: circleEvidence outputSize center radius fill

Parameters:
Returns: CircleShapeEvidence

Public contract function exposed by this FS.Skia.UI package.

outputSize : Size
center : Point
radius : float
fill : Color
Returns: CircleShapeEvidence

clipped clip scene

Full Usage: clipped clip scene

Parameters:
Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

clip : Clip
scene : Scene
Returns: Scene

describe scene

Full Usage: describe scene

Parameters:
Returns: SceneElementKind list

Public contract function exposed by this FS.Skia.UI package.

scene : Scene
Returns: SceneElementKind list

diagnostics scene

Full Usage: diagnostics scene

Parameters:
Returns: RenderDiagnostic list

Public contract function exposed by this FS.Skia.UI package.

scene : Scene
Returns: RenderDiagnostic list

ellipse bounds paint

Full Usage: ellipse bounds paint

Parameters:
Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

bounds : Rect
paint : Paint
Returns: Scene

ellipseEvidence outputSize bounds fill

Full Usage: ellipseEvidence outputSize bounds fill

Parameters:
Returns: EllipseShapeEvidence

Public contract function exposed by this FS.Skia.UI package.

outputSize : Size
bounds : Rect
fill : Color
Returns: EllipseShapeEvidence

empty

Full Usage: empty

Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

Returns: Scene

filledEllipse bounds fill

Full Usage: filledEllipse bounds fill

Parameters:
Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

bounds : Rect
fill : Color
Returns: Scene

filledRectangle bounds fill

Full Usage: filledRectangle bounds fill

Parameters:
Returns: Scene

Self-describing, `Rect`-based rectangle constructor (parallels `filledEllipse`); avoids the positional `(float * float * float * float)` arity slip.

bounds : Rect
fill : Color
Returns: Scene

group scenes

Full Usage: group scenes

Parameters:
Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

scenes : Scene list
Returns: Scene

image (bounds, arg1, arg1, arg1) source

Full Usage: image (bounds, arg1, arg1, arg1) source

Parameters:
    bounds : float
    arg1 : float
    arg2 : float
    arg3 : float
    source : string

Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

bounds : float
arg1 : float
arg2 : float
arg3 : float
source : string
Returns: Scene

line startPoint endPoint paint

Full Usage: line startPoint endPoint paint

Parameters:
Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

startPoint : Point
endPoint : Point
paint : Paint
Returns: Scene

measureText text font

Full Usage: measureText text font

Parameters:
Returns: TextMetrics

Public contract function exposed by this FS.Skia.UI package.

text : string
font : FontSpec
Returns: TextMetrics

path path paint

Full Usage: path path paint

Parameters:
Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

path : PathSpec
paint : Paint
Returns: Scene

picture picture

Full Usage: picture picture

Parameters:
Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

picture : Picture
Returns: Scene

points points paint

Full Usage: points points paint

Parameters:
Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

points : Point list
paint : Paint
Returns: Scene

rectangle (bounds, arg1, arg1, arg1) fill

Full Usage: rectangle (bounds, arg1, arg1, arg1) fill

Parameters:
    bounds : float
    arg1 : float
    arg2 : float
    arg3 : float
    fill : Color

Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

bounds : float
arg1 : float
arg2 : float
arg3 : float
fill : Color
Returns: Scene

rectangleWithPaint bounds paint

Full Usage: rectangleWithPaint bounds paint

Parameters:
Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

bounds : Rect
paint : Paint
Returns: Scene

region region paint

Full Usage: region region paint

Parameters:
Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

region : Region
paint : Paint
Returns: Scene

renderReadbackEvidence size scene

Full Usage: renderReadbackEvidence size scene

Parameters:
Returns: RenderReadbackEvidence

Public contract function exposed by this FS.Skia.UI package.

size : Size
scene : Scene
Returns: RenderReadbackEvidence

sizedText position text size color

Full Usage: sizedText position text size color

Parameters:
    position : float * float
    text : string
    size : float
    color : Color

Returns: Scene

A Text node with an explicit font size, for chrome sized to its container. Bare `Scene.text` (no size) keeps its current default-font rendering.

position : float * float
text : string
size : float
color : Color
Returns: Scene

text (position, arg1) text color

Full Usage: text (position, arg1) text color

Parameters:
    position : float
    arg1 : float
    text : string
    color : Color

Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

position : float
arg1 : float
text : string
color : Color
Returns: Scene

textAt position text color

Full Usage: textAt position text color

Parameters:
Returns: Scene

Self-describing, `Point`-based text constructor (parallels `circle`); avoids the positional `(float * float)` arity slip.

position : Point
text : string
color : Color
Returns: Scene

textRun run

Full Usage: textRun run

Parameters:
Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

run : TextRun
Returns: Scene

translate dx dy scene

Full Usage: translate dx dy scene

Parameters:
    dx : float
    dy : float
    scene : Scene

Returns: Scene

Offset an entire sub-scene by (dx, dy). Offsets ALL node kinds uniformly — including Path/Points/Vertices/Chart — by pushing a canvas translation, so it replaces a hand-written coordinate-walking shift. Nesting composes additively.

dx : float
dy : float
scene : Scene
Returns: Scene

vertices mode vertices paint

Full Usage: vertices mode vertices paint

Parameters:
Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

mode : VertexMode
vertices : Vertex list
paint : Paint
Returns: Scene

withColorSpace colorSpace scene

Full Usage: withColorSpace colorSpace scene

Parameters:
Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

colorSpace : ColorSpace
scene : Scene
Returns: Scene

withPerspective transform scene

Full Usage: withPerspective transform scene

Parameters:
Returns: Scene

Public contract function exposed by this FS.Skia.UI package.

transform : PerspectiveTransform
scene : Scene
Returns: Scene

Type something to start searching.