HandDrawnFillExtent enum

How far a shape's fill extends relative to its hand-drawn stroke.

Used by every closed hand-drawn shape that has both a stroke and an inner fill: HandDrawnContainer (and through it HandDrawnTable and a boxed HandDrawnLegend), HandDrawnStatusSquare, bar segments, and scatter dots. Let P be the jittered path the stroke follows and S the shape's un-jittered geometry.

Mode Fill region Cost
standardShape S; ignores the wobble one draw
strokeCenter interior of P, to the centerline one draw
strokeOuterEdge interior of P plus the band layer + 2 draws
strokeInnerEdge interior of P minus the band layer + 2 draws

S is the layout box for the container family, the inset square for the status square, the segment rectangle for bars, and the exact circle for scatter dots. With an opaque stroke the three stroke-relative modes look the same wherever the stroke covers a pixel; they differ when the stroke is translucent or hidden.

Inheritance
Available extensions

Values

standardShape → const HandDrawnFillExtent

Fills the un-jittered geometry. Where the stroke wobbles inward, the fill shows outside it.

strokeCenter → const HandDrawnFillExtent

Fills the interior of the jittered path; the fill meets the stroke at its centerline.

strokeOuterEdge → const HandDrawnFillExtent

Fills the interior plus the full stroke band; a translucent stroke blends uniformly over the fill color.

strokeInnerEdge → const HandDrawnFillExtent

Fills the interior minus the full stroke band; a translucent stroke blends uniformly over whatever is behind the shape.

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<HandDrawnFillExtent>
A constant List of the values in this enum, in order of their declaration.