LinesGridStyle class
Grid style that renders evenly spaced vertical and horizontal lines.
Creates a traditional line-based grid with consistent spacing defined by the theme's gridSize property. Lines are rendered using the theme's gridColor and gridThickness.
This is the most common grid style, providing clear visual reference for positioning and alignment.
Constructors
- LinesGridStyle()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createGridPaint(
NodeFlowTheme theme) → Paint -
Helper to create a base paint object with grid color and thickness.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paint(
Canvas canvas, Size size, NodeFlowTheme theme, GraphViewport viewport) → void -
Paints the grid pattern on the canvas.
inherited
-
paintGrid(
Canvas canvas, NodeFlowTheme theme, ({double bottom, double left, double right, double top}) gridArea) → void -
Renders the style-specific grid pattern.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited