New to Telerik Document Processing? Start a free 30-day trial

Tiling

Class

Tiling pattern that repeats a cell of vector content across an area; use to fill shapes with repeating artwork or textures.

Definition

Namespace:Telerik.Documents.Fixed.Model.ColorSpaces

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

C#
public class Tiling : TilingBase, IEquatable<ColorBase>, IContentRootElement, IContainerElement, IFixedDocumentElement

Inheritance: objectColorBasePatternColorTilingBaseTiling

Implements: IContainerElementIContentRootElementIEquatable<ColorBase>IFixedDocumentElement

Inherited Members TilingBase.ParentTilingBase.SupportsAnnotationsTilingBase.AnnotationsTilingBase.SupportsAutoTaggingTilingBase.DefaultStructureRootTilingBase.StructureStackColorBase.Equals(object)ColorBase.GetHashCode()...

Constructors

Initializes a new instance of the Tiling class with default bounding box and position.

C#
public Tiling()

Initializes a new instance of the Tiling class with the specified position transformation.

C#
public Tiling(IPosition position)
Parameters:positionIPosition

The position transformation matrix applied to the tiling pattern.

Initializes a new instance of the Tiling class with the specified bounding box and position.

C#
public Tiling(Rect boundingBox, IPosition position)
Parameters:boundingBoxRect

The rectangular area that defines the tiling pattern boundary.

positionIPosition

The position transformation matrix applied to the tiling pattern.

Initializes a new instance of the Tiling class with the specified bounding box.

C#
public Tiling(Rect boundingBox)
Parameters:boundingBoxRect

The rectangular area that defines the tiling pattern boundary.

Properties

Gets or sets the cell bounds in user space coordinates.

C#
public override Rect BoundingBox { get; set; }
Property Value:

The bounding box.

Overrides: TilingBase.BoundingBox

Gets the vector content that defines the repeated cell (paths, text, images, forms).

C#
public override ContentElementCollection Content { get; }
Property Value:

The content elements collection.

Overrides: TilingBase.Content

Gets or sets the horizontal spacing between cells; defaults to the cell width when not set.

C#
public override double HorizontalSpacing { get; set; }
Property Value:

The horizontal spacing.

Overrides: TilingBase.HorizontalSpacing

Gets or sets the transform applied when placing the tiling.

C#
public override IPosition Position { get; set; }
Property Value:

The position.

Overrides: PatternColor.Position

Size

Size

Gets the cell size derived from the bounding box width and height.

C#
public override Size Size { get; }
Property Value:

The size of the tiling pattern.

Overrides: TilingBase.Size

Gets or sets the tiling placement mode, affecting distortion tolerance and performance.

C#
public override TilingType TilingType { get; set; }
Property Value:

The type of the tiling.

Overrides: TilingBase.TilingType

Gets or sets the vertical spacing between cells; defaults to the cell height when not set.

C#
public override double VerticalSpacing { get; set; }
Property Value:

The vertical spacing value, or the pattern height if not explicitly set.

Overrides: TilingBase.VerticalSpacing

Methods

Equals the specified other.

C#
public override bool Equals(ColorBase other)
Parameters:otherColorBase

The other.

Returns:

bool

True if the specified tiling is equal to the current tiling; otherwise, false.

Overrides: ColorBase.Equals(ColorBase)