ClassTiling
Tiling pattern that repeats a cell of vector content across an area; use to fill shapes with repeating artwork or textures.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.ColorSpaces
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class Tiling : TilingBase, IEquatable<ColorBase>, IContentRootElement, IContainerElement, IFixedDocumentElement
Inheritance: objectColorBasePatternColorTilingBaseTiling
Implements:
Inherited Members
Constructors
Tiling()
Initializes a new instance of the Tiling class with default bounding box and position.
Declaration
public Tiling()
Tiling(IPosition)
Initializes a new instance of the Tiling class with the specified position transformation.
Declaration
public Tiling(IPosition position)
Parameters
position
The position transformation matrix applied to the tiling pattern.
Tiling(Rect)
Initializes a new instance of the Tiling class with the specified bounding box.
Declaration
public Tiling(Rect boundingBox)
Parameters
boundingBox
Rect
The rectangular area that defines the tiling pattern boundary.
Tiling(Rect, IPosition)
Initializes a new instance of the Tiling class with the specified bounding box and position.
Declaration
public Tiling(Rect boundingBox, IPosition position)
Parameters
boundingBox
Rect
The rectangular area that defines the tiling pattern boundary.
position
The position transformation matrix applied to the tiling pattern.
Properties
BoundingBox
Gets or sets the cell bounds in user space coordinates.
Declaration
public override Rect BoundingBox { get; set; }
Property Value
Rect
The bounding box.
Overrides
Content
Gets the vector content that defines the repeated cell (paths, text, images, forms).
Declaration
public override ContentElementCollection Content { get; }
Property Value
The content elements collection.
Overrides
HorizontalSpacing
Gets or sets the horizontal spacing between cells; defaults to the cell width when not set.
Declaration
public override double HorizontalSpacing { get; set; }
Property Value
The horizontal spacing.
Overrides
Position
Gets or sets the transform applied when placing the tiling.
Declaration
public override IPosition Position { get; set; }
Property Value
The position.
Overrides
Size
Gets the cell size derived from the bounding box width and height.
Declaration
public override Size Size { get; }
Property Value
Size
The size of the tiling pattern.
Overrides
TilingType
Gets or sets the tiling placement mode, affecting distortion tolerance and performance.
Declaration
public override TilingType TilingType { get; set; }
Property Value
The type of the tiling.
Overrides
VerticalSpacing
Gets or sets the vertical spacing between cells; defaults to the cell height when not set.
Declaration
public override double VerticalSpacing { get; set; }
Property Value
The vertical spacing value, or the pattern height if not explicitly set.
Overrides
Methods
Equals(ColorBase)
Equals the specified other.