XcfLayerType enum

Per-layer component layout; samples are interleaved, alpha is last.

Inheritance
Available extensions

Values

rgb → const XcfLayerType

Three RGB components.

const XcfLayerType(3, XcfColorMode.rgb, false)
rgba → const XcfLayerType

Three RGB components and straight alpha.

const XcfLayerType(4, XcfColorMode.rgb, true)
gray → const XcfLayerType

One gray component.

const XcfLayerType(1, XcfColorMode.grayscale, false)
grayAlpha → const XcfLayerType

One gray component and straight alpha.

const XcfLayerType(2, XcfColorMode.grayscale, true)
indexed → const XcfLayerType

One palette index.

const XcfLayerType(1, XcfColorMode.indexed, false)
indexedAlpha → const XcfLayerType

One palette index and straight alpha.

const XcfLayerType(2, XcfColorMode.indexed, true)

Properties

colorMode → XcfColorMode
Color model of the layer.
final
components → int
Number of components per pixel.
final
hasAlpha → bool
Whether the last component is alpha.
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<XcfLayerType>
A constant List of the values in this enum, in order of their declaration.