PsdLayerEffects class final
A complete editable modern or imported legacy layer-effects record.
Constructors
- PsdLayerEffects({required PsDescriptor descriptor, int version = 0, int descriptorVersion = 16, String blockKey = 'lfx2', Uint8List? trailingData})
- Creates editable modern layer effects.
-
PsdLayerEffects.create({List<
PsdLayerEffect> effects = const <PsdLayerEffect>[], bool enabled = true, double scale = 100}) -
Creates a modern effects record from semantic
effects.factory
Properties
- blockKey → String
-
Original tagged-block key, normally
lfx2orlrFX.final - descriptor → PsDescriptor
-
Complete modern effects descriptor.
final
- descriptorVersion → int
-
Action-descriptor version, normally 16.
final
-
effects
→ List<
PsdLayerEffect> -
Effects in descriptor order, including repeated effect families.
no setter
- enabled → bool
-
Whether all layer effects are enabled globally.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → double
-
Global effect scale percentage.
no setter
- trailingData → Uint8List
-
Bytes following the action descriptor in the tagged block.
final
- version → int
-
Effects record version, normally zero.
final
- view → PsLayerEffects
-
Complete format-neutral view, including every non-RGB color space.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withEffects(
List< PsdLayerEffect> effects) → PsdLayerEffects -
Returns a modern record containing
effectsand preserving other root keys. -
withEnabled(
bool value) → PsdLayerEffects -
Returns a copy whose global enabled state is
value.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited