FillPatternType enum Styling
Cell fill pattern. solid fills the cell with a single colour (the cell
style's backgroundColor); the other patterns draw a hatch/shade using the
backgroundColor as the pattern colour over an optional fillBackgroundColor.
The enum names match the OOXML patternType values exactly.
Values
- none → const FillPatternType
-
No fill.
- solid → const FillPatternType
-
A single solid colour.
- mediumGray → const FillPatternType
-
50% grey shade.
- darkGray → const FillPatternType
-
75% grey shade.
- lightGray → const FillPatternType
-
25% grey shade.
- gray125 → const FillPatternType
-
12.5% grey shade (the default unused fill in most workbooks).
- gray0625 → const FillPatternType
-
6.25% grey shade.
- darkHorizontal → const FillPatternType
-
Dark horizontal lines.
- darkVertical → const FillPatternType
-
Dark vertical lines.
- darkDown → const FillPatternType
-
Dark diagonal lines running down (top-left to bottom-right).
- darkUp → const FillPatternType
-
Dark diagonal lines running up (bottom-left to top-right).
- darkGrid → const FillPatternType
-
Dark crossed (grid) lines.
- darkTrellis → const FillPatternType
-
Dark crossed diagonal (trellis) lines.
- lightHorizontal → const FillPatternType
-
Thin horizontal lines.
- lightVertical → const FillPatternType
-
Thin vertical lines.
- lightDown → const FillPatternType
-
Thin diagonal lines running down (top-left to bottom-right).
- lightUp → const FillPatternType
-
Thin diagonal lines running up (bottom-left to top-right).
- lightGrid → const FillPatternType
-
Thin crossed (grid) lines.
- lightTrellis → const FillPatternType
-
Thin crossed diagonal (trellis) lines.
Properties
- 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<
FillPatternType> - A constant List of the values in this enum, in order of their declaration.