AnyStepsProfile class
Repeated rectangular indentations (or protrusions).
Each repeat spends half its length at depth and half on the original edge,
with a quarter-repeat of straight edge at each end of the repeated section.
RoundedCorner.infinity rounds both convex and concave turns as far as they
fit; unequal segment lengths can still leave straight portions.
Centered placement alternates half-depth levels and reserves a quarter-repeat
straight lead at each end so the box corners retain their edge directions.
Zero depth or exhausted clearance produces a straight edge.
- Inheritance
-
- Object
- AnyEdgeProfile
- AnyStepsProfile
Constructors
- AnyStepsProfile({required int count, required double depth, AnyEdgePlacement placement = AnyEdgePlacement.inset, double? startClearance = 0, double? endClearance = 0, AnyCorner corners = const RoundedCorner(), AnyCorner? outerCorners, AnyCorner? innerCorners})
-
const
Properties
- corners → AnyCorner
-
Source corners for generated vertices only.
finalinherited
- count → int
-
Number of repeats, or alternating lobes for a centered zigzag.
Must be positive.
finalinherited
- depth → double
-
Nonnegative finite depth in logical units, not clamped to the box size.
Centered profiles use half this distance on each side before rounding.
finalinherited
- endClearance → double?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- innerCorners → AnyCorner?
-
finalinherited
- outerCorners → AnyCorner?
-
Null derives the boundary from
corners, not from box corner overrides.finalinherited - placement → AnyEdgePlacement
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startClearance → double?
-
Straight space before/after the repeated section, in logical units.
Null chooses the profile's automatic spacing. Centered zigzags reserve
half a full wave at each automatic end; other profiles use zero.
If these consume the edge, it stays straight.
finalinherited
Methods
-
buildPoints(
double length, AnySide side) → List< AnyPoint> -
override
-
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