PsLayerEffects class final
The complete Lefx object and source-ordered typed effect views.
Constructors
-
PsLayerEffects({required PsDescriptor descriptor, required PsDescriptorNumber? scale, required bool? masterEnabled, required List<
PsLayerEffect> effects, required List<PsDescriptorItem> unmodeledItems}) - Creates an immutable layer-effects view.
- PsLayerEffects.fromDescriptor(PsDescriptor descriptor)
-
Creates typed views over every effect object in
descriptor.factory
Properties
- descriptor → PsDescriptor
-
Complete
Lefxdescriptor.final -
effects
→ List<
PsLayerEffect> -
Every recognized or forward-compatible effect object in source order.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- masterEnabled → bool?
-
Master switch controlling all effects, when stored.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → PsDescriptorNumber?
-
Global layer-effect scale, normally expressed in percent.
final
-
unmodeledItems
→ List<
PsDescriptorItem> -
Descriptor items not interpreted as global settings or effect objects.
final
Methods
-
effectsOf(
PsLayerEffectKind kind) → List< PsLayerEffect> -
Returns every effect belonging to
kind. -
firstEffectOf(
PsLayerEffectKind kind) → PsLayerEffect? -
Returns the first effect belonging to
kind, when present. -
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 Methods
-
rootItems(
Iterable< ({PsDescriptor descriptor, PsLayerEffectKind kind})> effects) → List<PsDescriptorItem> -
Serializes
effectsasLefxroot items grouped by family.