Artboard class

Inheritance

Constructors

Artboard()

Properties

animations → AnimationList
read-only
artboard Artboard
read-only
canBeOrphaned bool
read-only
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 → DrawableList
read-only
fills Set<Fill>
final, inherited
graphOrder int
read / write, inherited
hasAnimations bool
read-only
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
localBounds → AABB
read-only
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
originWorld → Vec2D
read-only
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
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
worldBounds → AABB
read-only
worldTransform → Mat2D
read-only
worldTranslation → Vec2D
read-only
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
addController(RiveAnimationController controller) bool
addDependent(Component dependent) bool
inherited
addDirt(int value, {bool recurse = false}) bool
inherited
addFill(Fill fill) bool
@protected, inherited
addStroke(Stroke stroke) bool
@protected, inherited
advance(double elapsedSeconds) bool
appendChild(Component child) → void
inherited
buildDependencies() → void
@mustCallSuper, inherited
childAdded(Component child) → void
childRemoved(Component child) → void
draw(Canvas canvas) → void
forAll(DescentCallback cb) bool
inherited
forEachChild(DescentCallback cb) → void
inherited
forEachComponent(void callback(Component)) → void
heightChanged(double from, double to) → void
override
internalAddAnimation(Animation animation) bool
internalRemoveAnimation(Animation animation) bool
isValidParent(Component parent) bool
inherited
markDrawOrderDirty() → 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
@mustCallSuper, inherited
onAddedDirty() → void
inherited
onComponentDirty(Component component) → void
onDependencyRemoved(Component dependent) → void
inherited
onDirty(int mask) → void
inherited
onFillsChanged() → void
onPaintMutatorChanged(ShapePaintMutator mutator) → void
onRemoved() → void
@mustCallSuper, inherited
onStrokesChanged() → void
originXChanged(double from, double to) → void
override
originYChanged(double from, double to) → void
override
parentChanged(ContainerComponent from, ContainerComponent to) → void
@protected, inherited
parentIdChanged(int from, int to) → void
inherited
remove() → void
inherited
removeComponent(Component component) → void
removeController(RiveAnimationController controller) bool
removeFill(Fill fill) bool
@protected, inherited
removeRecursive() → void
inherited
removeStroke(Stroke stroke) bool
@protected, inherited
renderTranslation(Vec2D worldTranslation) → Vec2D
resolveArtboard() bool
sortDependencies() → void
toString() String
A string representation of this object. [...]
inherited
update(int dirt) → void
updateComponents() bool
userDataChanged(dynamic from, dynamic to) → void
inherited
visitAncestor(Component ancestor) → void
inherited
widthChanged(double from, double to) → void
override
xChanged(double from, double to) → void
override
yChanged(double from, double to) → void
override

Operators

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