Class
Tiling

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:

cs-api-definition
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

Tiling()

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

Declaration

cs-api-definition
public Tiling()

Tiling(IPosition)

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

Declaration

cs-api-definition
public Tiling(IPosition position)

Parameters

position

IPosition

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

cs-api-definition
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

cs-api-definition
public Tiling(Rect boundingBox, IPosition position)

Parameters

boundingBox

Rect

The rectangular area that defines the tiling pattern boundary.

position

IPosition

The position transformation matrix applied to the tiling pattern.

Properties

BoundingBox

Gets or sets the cell bounds in user space coordinates.

Declaration

cs-api-definition
public override Rect BoundingBox { get; set; }

Property Value

Rect

The bounding box.

Overrides TilingBase.BoundingBox

Content

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

Declaration

cs-api-definition
public override ContentElementCollection Content { get; }

Property Value

ContentElementCollection

The content elements collection.

Overrides TilingBase.Content

HorizontalSpacing

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

Declaration

cs-api-definition
public override double HorizontalSpacing { get; set; }

Property Value

double

The horizontal spacing.

Overrides TilingBase.HorizontalSpacing

Position

Gets or sets the transform applied when placing the tiling.

Declaration

cs-api-definition
public override IPosition Position { get; set; }

Property Value

IPosition

The position.

Overrides PatternColor.Position

Size

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

Declaration

cs-api-definition
public override Size Size { get; }

Property Value

Size

The size of the tiling pattern.

Overrides TilingBase.Size

TilingType

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

Declaration

cs-api-definition
public override TilingType TilingType { get; set; }

Property Value

TilingType

The type of the tiling.

Overrides TilingBase.TilingType

VerticalSpacing

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

Declaration

cs-api-definition
public override double VerticalSpacing { get; set; }

Property Value

double

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

Overrides TilingBase.VerticalSpacing

Methods

Equals(ColorBase)

Equals the specified other.

Declaration

cs-api-definition
public override bool Equals(ColorBase other)

Parameters

other

ColorBase

The other.

Returns

bool

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

Overrides ColorBase.Equals(ColorBase)