Shape class

Inheritance

Constructors

Shape()

Properties

artboard Artboard
read-only, inherited
blendMode BlendMode
read / write, inherited
blendModeValue int
Change the _blendModeValue field value. blendModeValueChanged will be invoked only if the field's value has changed.
read / write, inherited
canBeOrphaned bool
read-only, inherited
childOpacity double
read-only, inherited
children → ContainerChildren
final, inherited
clippingShapes Iterable<ClippingShape>
read-only, 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
drawRules → DrawRules
read-only, inherited
fillInWorld bool
read-only
fillPath Path
read-only
fills Set<Fill>
final, inherited
flattenedDrawRules ↔ DrawRules
read / write, inherited
graphOrder int
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
read / write, inherited
localBounds → AABB
read-only, 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
next ↔ Drawable
read / write, inherited
opacity double
Change the _opacity field value. opacityChanged will be invoked only if the field's value has changed.
read / write, inherited
parent ↔ ContainerComponent
read / write, inherited
parentId int
Identifier used to track parent ContainerComponent.
read / write, inherited
pathComposer ↔ PathComposer
read / write
paths Set<Path>
final
prev ↔ Drawable
read / write, inherited
renderOpacity double
read-only, inherited
rotation double
Change the _rotation field value. rotationChanged will be invoked only if the field's value has changed.
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scale ↔ Vec2D
read / write, inherited
scaleX double
Change the _scaleX field value. scaleXChanged will be invoked only if the field's value has changed.
read / write, inherited
scaleY double
Change the _scaleY field value. scaleYChanged will be invoked only if the field's value has changed.
read / write, inherited
strokes Set<Stroke>
final, inherited
transform → Mat2D
final, inherited
translation ↔ Vec2D
read / write, inherited
userData ↔ dynamic
read / write, inherited
wantLocalPath bool
read-only
wantWorldPath bool
read-only
worldTransform → Mat2D
final, inherited
worldTranslation → Vec2D
read-only, inherited
x double
Change the _x field value. xChanged will be invoked only if the field's value has changed.
read / write, inherited
y double
Change the _y field value. yChanged will be invoked only if the field's value has changed.
read / write, inherited

Methods

addDependent(Component dependent) bool
inherited
addDirt(int value, {bool recurse = false}) bool
inherited
addFill(Fill fill) bool
inherited
addPath(Path path) bool
addStroke(Stroke stroke) bool
appendChild(Component child) → void
inherited
blendModeValueChanged(int from, int to) → void
buildDependencies() → void
inherited
buildDrawOrder(List<Drawable> drawables, DrawRules rules, List<DrawRules> allRules) → void
inherited
calculateWorldTransform() → void
inherited
childAdded(Component child) → void
inherited
childRemoved(Component child) → void
inherited
clip(Canvas canvas) bool
inherited
draw(Canvas canvas) → void
forAll(DescentCallback cb) bool
inherited
forEachChild(DescentCallback cb) → void
inherited
invalidateStrokeEffects() → void
inherited
isValidParent(Component parent) bool
inherited
markRebuildDependencies() → void
inherited
markTransformDirty() → void
inherited
markWorldTransformDirty() → 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
onDependencyRemoved(Component dependent) → void
inherited
onDirty(int mask) → void
inherited
onFillsChanged() → void
onPaintMutatorChanged(ShapePaintMutator mutator) → void
onRemoved() → void
@mustCallSuper, inherited
onStrokesChanged() → void
opacityChanged(double from, double to) → void
inherited
paintChanged() → void
parentChanged(ContainerComponent from, ContainerComponent to) → void
inherited
parentIdChanged(int from, int to) → void
inherited
pathChanged(Path path) → void
remove() → void
inherited
removeFill(Fill fill) bool
inherited
removePath(Path path) bool
removeRecursive() → void
inherited
removeStroke(Stroke stroke) bool
resolveArtboard() bool
inherited
rotationChanged(double from, double to) → void
inherited
scaleXChanged(double from, double to) → void
inherited
scaleYChanged(double from, double to) → void
inherited
toString() String
A string representation of this object. [...]
inherited
update(int dirt) → void
updateTransform() → void
inherited
updateWorldTransform() → void
@mustCallSuper, inherited
userDataChanged(dynamic from, dynamic to) → void
inherited
visitAncestor(Component ancestor) → void
@mustCallSuper, inherited
xChanged(double from, double to) → void
inherited
yChanged(double from, double to) → void
inherited

Operators

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