PatternTile

References
public sealed class PatternTile
A single tile in a hatch pattern.

Constructors

PatternTile

#
public PatternTile(double width, double height)
width (double)
height (double)

Properties

Count

#
public int Count { get; }
Gets the number of content elements.

Height

#
public double Height { get; }
Gets the height of the tile.

Width

#
public double Width { get; }
Gets the width of the tile.

Methods

Add

#
public PatternTile Add(Curve curve, double limit, TileBoundaryBehaviour boundary)
Add a new curve to this tile.
curve (Curve)
limit (double)
boundary (TileBoundaryBehaviour)

Add

#
public PatternTile Add(Line line, double limit, TileBoundaryBehaviour boundary)
Add a line to this tile.
line (Line)Line to add.
limit (double)Boundary limit.
boundary (TileBoundaryBehaviour)Boundary behaviour.

ToCurves

#
public IEnumerable<Curve> ToCurves(Curve boundary, Curve[] holes, Transform transform)
Transform and adjust all elements in this tile to a specific placement.
boundary (Curve)Boundary curve.
holes (Curve[])Optional holes in the boundary.
transform (Transform)Tile offset+scale+rotation in XY. If the transform contains nonlinear aspects, this may not work.
Collection of tile curves.