Class Tiling
Tiling pattern that repeats a cell of vector content across an area; use to fill shapes with repeating artwork or textures.
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.ColorSpaces
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class Tiling : TilingBase, IEquatable<ColorBase>, IInstanceIdOwner, IContentRootElement, IContainerElement, IFixedDocumentElement, ITiling, IPatternColor
Constructors
Tiling()
Initializes a new instance of the Tiling class with default bounding box and position.
Declaration
public Tiling()
Tiling(Rect)
Initializes a new instance of the Tiling class with the specified bounding box.
Declaration
public Tiling(Rect boundingBox)
Parameters
|
System.Windows.Rect
boundingBox
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
|
System.Windows.Rect
boundingBox
The rectangular area that defines the tiling pattern boundary. |
|
IPosition
position
The position transformation matrix applied to the tiling pattern. |
Tiling(IPosition)
Initializes a new instance of the Tiling class with the specified position transformation.
Declaration
public Tiling(IPosition position)
Parameters
|
IPosition
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
|
System.Windows.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
|
ContentElementCollection
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
|
System.Double
The horizontal spacing. |
Overrides
Position
Gets or sets the transform applied when placing the tiling.
Declaration
public override IPosition Position { get; set; }
Property Value
|
IPosition
The position. |
Overrides
Size
Gets the cell size derived from the bounding box width and height.
Declaration
public override Size Size { get; }
Property Value
|
System.Windows.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
|
TilingType
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
|
System.Double
The vertical spacing value, or the pattern height if not explicitly set. |
Overrides
Methods
Equals(ColorBase)
Equals the specified other.
Declaration
public override bool Equals(ColorBase other)
Parameters
|
ColorBase
other
The other. |
Returns
|
System.Boolean
True if the specified tiling is equal to the current tiling; otherwise, false. |