Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var All = []Enum{ Clear, Src, Dst, SrcOver, DstOver, SrcIn, DstIn, SrcOut, DstOut, SrcAtop, DstAtop, Xor, Plus, Modulate, Screen, Overlay, Darken, Lighten, ColorDodge, ColorBurn, HardLight, SoftLight, Difference, Exclusion, Multiply, Hue, Saturation, Color, Luminosity, }
All possible values.
Functions ¶
This section is empty.
Types ¶
type Enum ¶
type Enum byte
Enum holds the mode used for blending pixels.
const ( Clear Enum = iota Src Dst SrcOver DstOver SrcIn DstIn SrcOut DstOut SrcAtop DstAtop Xor Plus Modulate Screen Overlay Darken Lighten ColorDodge ColorBurn HardLight SoftLight Difference Exclusion Multiply Hue Saturation Color Luminosity )
Possible values.
func (Enum) EnsureValid ¶
EnsureValid ensures this is of a known value.
func (Enum) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*Enum) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
Click to show internal directories.
Click to hide internal directories.