Artboard class abstract

Constructors

Artboard()

Properties

bounds AABB
no setter
frameOrigin bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height double
getter/setter pair
heightBounds double
no setter
heightOriginal double
no setter
layoutBounds AABB
no setter
name String
no setter
opacity double
getter/setter pair
renderTransform Mat2D
getter/setter pair
riveFactory Factory?
The factory that was used to load this artboard.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
getter/setter pair
widthBounds double
no setter
widthOriginal double
no setter
worldBounds AABB
no setter

Methods

addToRenderPath(RenderPath renderPath, Mat2D transform) → void
advance(double seconds, {int flags = 9}) bool
animationAt(int index) Animation
animationCount() int
animationNamed(String name) Animation?
bindViewModelInstance(ViewModelInstance viewModelInstance) → void
Binds the provided viewModelInstance to the artboard
cascadeLayoutStyle(int direction) → void
component(String name) Component?
defaultStateMachine() StateMachine?
dispose() → void
draw(Renderer renderer) → void
getText(String runName, {String? path}) String
Get a text run value with runName at optional path.
hasComponentDirt() bool
heightIntrinsicallySizeOverride(bool intrinsic) → void
heightOverride(double height, int heightUnitValue, bool isRow) → void
internalUpdateDataBinds() → void
This method is used internally and should not be called directly.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onEvent(void callback(int)) CallbackHandler
onIsAncestor(int callback(int artboardId)) CallbackHandler
onLayoutChanged(void callback()) CallbackHandler
onLayoutDirty(void callback()) CallbackHandler
Callback for when a layout style of a nested artboard has changed.
onRootTransform(double callback(Vec2D pos, bool xAxis)) CallbackHandler
onTestBounds(int callback(Vec2D pos, bool skip)) CallbackHandler
onTransformDirty(void callback()) CallbackHandler
Callback for when a layout style of a nested artboard has changed.
parentIsRow(bool isRow) → void
reset() → void
resetArtboardSize() → void
setText(String runName, String value, {String? path}) bool
Set a text run value with runName at optional path to value.
stateMachine(String name) StateMachine?
stateMachineAt(int index) StateMachine?
stateMachineCount() int
syncStyleChanges() → void
takeLayoutNode() → dynamic
toString() String
A string representation of this object.
inherited
updateLayoutBounds(bool animate) → void
updatePass() bool
widthIntrinsicallySizeOverride(bool intrinsic) → void
widthOverride(double width, int widthUnitValue, bool isRow) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited