ShapeWithTextNode class

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

ShapeWithTextNode.new({String? type, ShapeType? shapeType, TextSublayerNode? text, num? cornerRadius, num? rotation, void resize(num, num)?, void rescale(num)?, ShapeWithTextNode clone()?, Object? fills, Object? fillStyleId, Future<void> setFillStyleIdAsync(String)?, num? opacity, BlendMode? blendMode, ReadonlyArray<Object>? strokes, String? strokeStyleId, Object? strokeWeight, Object? strokeJoin, StrokeAlign? strokeAlign, ReadonlyArray<num>? dashPattern, VectorPaths? strokeGeometry, Future<void> setStrokeStyleIdAsync(String)?})
factory

Properties

absoluteBoundingBox Rect?

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

no setter
absoluteTransform Transform

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

no setter
addDevResourceAsync Future<void> Function(String, [String?])

Available on DevResourcesMixin, provided by the DevResourcesMixin$Typings extension

getter/setter pair
attachedConnectors List<ConnectorNode>

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

no setter
blendMode BlendMode

Available on MinimalBlendMixin, provided by the MinimalBlendMixin$Typings extension

getter/setter pair
boundVariables → _Intersection8?

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

no setter
clearExplicitVariableModeForCollection → ({void Function(String collectionId) $1, void Function(VariableCollection collection) $2})

Available on ExplicitVariableModesMixin, provided by the ExplicitVariableModesMixin$Typings extension

Overload accessor: $1, $2
no setter
clone ShapeWithTextNode Function()

Available on ShapeWithTextNode, provided by the ShapeWithTextNode$Typings extension

getter/setter pair
componentPropertyReferences ↔ dynamic

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

getter/setter pair
cornerRadius num?

Available on ShapeWithTextNode, provided by the ShapeWithTextNode$Typings extension

no setter
dashPattern ReadonlyArray<num>

Available on MinimalStrokesMixin, provided by the MinimalStrokesMixin$Typings extension

getter/setter pair
deleteDevResourceAsync Future<void> Function(String)

Available on DevResourcesMixin, provided by the DevResourcesMixin$Typings extension

getter/setter pair
editDevResourceAsync Future<void> Function(String, dynamic)

Available on DevResourcesMixin, provided by the DevResourcesMixin$Typings extension

getter/setter pair
explicitVariableModes Object

Available on ExplicitVariableModesMixin, provided by the ExplicitVariableModesMixin$Typings extension

getter/setter pair
exportAsync → ({Future<Uint8List> Function([Object? settings]) $1, Future<String> Function(ExportSettingsSVGString settings) $2, Future<Object> Function(ExportSettingsREST settings) $3})

Available on ExportMixin, provided by the ExportMixin$Typings extension

Overload accessor: $1, $2, $3
no setter
exportSettings ReadonlyArray<Object>

Available on ExportMixin, provided by the ExportMixin$Typings extension

getter/setter pair
fills Object

Available on MinimalFillsMixin, provided by the MinimalFillsMixin$Typings extension

getter/setter pair
fillStyleId Object

Available on MinimalFillsMixin, provided by the MinimalFillsMixin$Typings extension

getter/setter pair
getCSSAsync Future<Object> Function()

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

getter/setter pair
getDevResourcesAsync Future<List<DevResourceWithNodeId>> Function([dynamic])

Available on DevResourcesMixin, provided by the DevResourcesMixin$Typings extension

getter/setter pair
getPluginData String Function(String)

Available on PluginDataMixin, provided by the PluginDataMixin$Typings extension

getter/setter pair
getPluginDataKeys List<String> Function()

Available on PluginDataMixin, provided by the PluginDataMixin$Typings extension

getter/setter pair
getRelaunchData Object Function()

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

getter/setter pair
getSharedPluginData String Function(String, String)

Available on PluginDataMixin, provided by the PluginDataMixin$Typings extension

getter/setter pair
getSharedPluginDataKeys List<String> Function(String)

Available on PluginDataMixin, provided by the PluginDataMixin$Typings extension

getter/setter pair
getTopLevelFrame FrameNode? Function()

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height num

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

no setter
id String

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

no setter
inferredVariables → _Intersection9?

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

no setter
isAsset bool

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

no setter
locked bool

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

getter/setter pair
maxHeight num?

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

getter/setter pair
maxWidth num?

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

getter/setter pair
minHeight num?

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

getter/setter pair
minWidth num?

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

getter/setter pair
name String

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

getter/setter pair
opacity num

Available on MinimalBlendMixin, provided by the MinimalBlendMixin$Typings extension

getter/setter pair
parent → _Intersection7?

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

no setter
relativeTransform Transform

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

getter/setter pair
remove ↔ void Function()

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

getter/setter pair
removed bool

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

no setter
rescale ↔ void Function(num)

Available on ShapeWithTextNode, provided by the ShapeWithTextNode$Typings extension

getter/setter pair
resize ↔ void Function(num, num)

Available on ShapeWithTextNode, provided by the ShapeWithTextNode$Typings extension

getter/setter pair
resolvedVariableModes Object

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

getter/setter pair
rotation num

Available on ShapeWithTextNode, provided by the ShapeWithTextNode$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setBoundVariable → ({void Function(Object field, [String? variableId]) $1, void Function(Object field, [Variable? variable]) $2})

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

Overload accessor: $1, $2
no setter
setDevResourcePreviewAsync Future<void> Function(String, PlainTextElement)

Available on DevResourcesMixin, provided by the DevResourcesMixin$Typings extension

getter/setter pair
setExplicitVariableModeForCollection → ({void Function(String collectionId, String modeId) $1, void Function(VariableCollection collection, String modeId) $2})

Available on ExplicitVariableModesMixin, provided by the ExplicitVariableModesMixin$Typings extension

Overload accessor: $1, $2
no setter
setFillStyleIdAsync Future<void> Function(String)

Available on MinimalFillsMixin, provided by the MinimalFillsMixin$Typings extension

getter/setter pair
setPluginData ↔ void Function(String, String)

Available on PluginDataMixin, provided by the PluginDataMixin$Typings extension

getter/setter pair
setRelaunchData ↔ void Function(Object)

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

getter/setter pair
setSharedPluginData ↔ void Function(String, String, String)

Available on PluginDataMixin, provided by the PluginDataMixin$Typings extension

getter/setter pair
setStrokeStyleIdAsync Future<void> Function(String)

Available on MinimalStrokesMixin, provided by the MinimalStrokesMixin$Typings extension

getter/setter pair
shapeType ShapeType

Available on ShapeWithTextNode, provided by the ShapeWithTextNode$Typings extension

getter/setter pair
strokeAlign StrokeAlign

Available on MinimalStrokesMixin, provided by the MinimalStrokesMixin$Typings extension

getter/setter pair
strokeGeometry VectorPaths

Available on MinimalStrokesMixin, provided by the MinimalStrokesMixin$Typings extension

no setter
strokeJoin Object

Available on MinimalStrokesMixin, provided by the MinimalStrokesMixin$Typings extension

getter/setter pair
strokes ReadonlyArray<Object>

Available on MinimalStrokesMixin, provided by the MinimalStrokesMixin$Typings extension

getter/setter pair
strokeStyleId String

Available on MinimalStrokesMixin, provided by the MinimalStrokesMixin$Typings extension

getter/setter pair
strokeWeight Object

Available on MinimalStrokesMixin, provided by the MinimalStrokesMixin$Typings extension

getter/setter pair
stuckNodes List<SceneNode>

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

no setter
text TextSublayerNode

Available on ShapeWithTextNode, provided by the ShapeWithTextNode$Typings extension

no setter
toString$ String Function()

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

getter/setter pair
type String

Available on ShapeWithTextNode, provided by the ShapeWithTextNode$Typings extension

no setter
visible bool

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

getter/setter pair
width num

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

no setter
x num

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

getter/setter pair
y num

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

type String
no setter