RuntimeArtboard class

This artboard type is purely for use by the runtime system and should not be directly referenced. Use the Artboard type for any direct interactions with an artboard, and use extension methods to add functionality to Artboard.

Inheritance
Available Extensions

Constructors

RuntimeArtboard()

Properties

animations → AnimationList
read-only, inherited
artboard Artboard
read-only, inherited
canBeOrphaned bool
read-only, inherited
children → ContainerChildren
final, inherited
context RuntimeArtboard
covariant, read / write, inherited
coreType int
read-only, inherited
coreTypes Set<int>
read-only, inherited
dependents Set<Component>
read-only, inherited
dirt int
read / write, inherited
drawables List<Drawable>
read-only, inherited
fills Set<Fill>
final, inherited
graphOrder int
read / write, inherited
hasAnimations bool
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
height double
Height of the artboard.
read / write, inherited
id int
read / write, inherited
name String
Non-unique identifier, used to give friendly names to elements in the hierarchy. Runtimes provide an API for finding components by this name.
read / write, inherited
objects Iterable<Core<CoreContext>>
read-only
originWorld → Vec2D
read-only, inherited
originX double
Origin x in normalized coordinates (0 = center, -1 = left, 1 = right).
read / write, inherited
originY double
Origin y in normalized coordinates (0 = center, -1 = left, 1 = right).
read / write, inherited
parent ↔ ContainerComponent
read / write, inherited
parentId int
Identifier used to track parent ContainerComponent.
read / write, inherited
path Path
final, inherited
redraw ChangeNotifier
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
strokes Set<Stroke>
final, inherited
userData ↔ dynamic
read / write, inherited
width double
Width of the artboard.
read / write, inherited
worldTransform → Mat2D
read-only, inherited
worldTranslation → Vec2D
read-only, inherited
x double
X coordinate in editor world space.
read / write, inherited
y double
Y coordinate in editor world space.
read / write, inherited

Methods

addComponent(Component component) → void
inherited
addController(RiveAnimationController controller) bool
inherited
addDependent(Component dependent) bool
inherited
addDirt(int value, {bool recurse = false}) bool
inherited
addFill(Fill fill) bool
inherited
addObject<T extends Core<CoreContext>>(T object) → T
addStroke(Stroke stroke) bool
inherited
advance(double elapsedSeconds) bool
inherited
appendChild(Component child) → void
inherited
buildDependencies() → void
@mustCallSuper, inherited
buildDrawOrder(List<Drawable> drawables, DrawRules rules, List<DrawRules> allRules) → void
inherited
childAdded(Component child) → void
@mustCallSuper, inherited
childRemoved(Component child) → void
inherited
clean() → void
computeDrawOrder() → void
inherited
dirty(void dirt()) → void
draw(Canvas canvas) → void
inherited
forAll(DescentCallback cb) bool
inherited
forEachChild(DescentCallback cb) → void
inherited
forEachComponent(void callback(Component)) → void
inherited
heightChanged(double from, double to) → void
inherited
internalAddAnimation(Animation animation) bool
inherited
internalRemoveAnimation(Animation animation) bool
inherited
invalidateStrokeEffects() → void
inherited
isValidParent(Component parent) bool
inherited
makeCoreInstance(int typeKey) → Core<CoreContext>
markDependenciesDirty(covariant Core<CoreContext> object) bool
markDependencyOrderDirty() → void
markDrawOrderDirty() → void
inherited
markNeedsAdvance() → void
markRebuildDependencies() → void
inherited
nameChanged(String from, String to) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onAdded() → void
inherited
onAddedDirty() → void
inherited
onComponentDirty(Component component) → void
inherited
onDependencyRemoved(Component dependent) → void
inherited
onDirty(int mask) → void
inherited
onFillsChanged() → void
inherited
onPaintMutatorChanged(ShapePaintMutator mutator) → void
inherited
onRemoved() → void
@mustCallSuper, inherited
onStrokesChanged() → void
inherited
originXChanged(double from, double to) → void
inherited
originYChanged(double from, double to) → void
inherited
parentChanged(ContainerComponent from, ContainerComponent to) → void
@protected, inherited
parentIdChanged(int from, int to) → void
inherited
remove() → void
inherited
removeComponent(Component component) → void
inherited
removeController(RiveAnimationController controller) bool
inherited
removeFill(Fill fill) bool
inherited
removeObject<T extends Core<CoreContext>>(T object) → void
removeRecursive() → void
inherited
removeStroke(Stroke stroke) bool
inherited
renderTranslation(Vec2D worldTranslation) → Vec2D
inherited
resolve<T>(int id) → T
resolveArtboard() bool
inherited
sortDependencies() → void
inherited
sortDrawOrder() → void
inherited
toString() String
A string representation of this object. [...]
inherited
update(int dirt) → void
inherited
updateComponents() bool
inherited
userDataChanged(dynamic from, dynamic to) → void
inherited
visitAncestor(Component ancestor) → void
@mustCallSuper, inherited
widthChanged(double from, double to) → void
inherited
xChanged(double from, double to) → void
inherited
yChanged(double from, double to) → void
inherited

Operators

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