Class
UncoloredTiling

Tiling pattern that omits color so the paint is supplied externally; use to reuse geometry while applying different colors at draw time.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.ColorSpaces

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public class UncoloredTiling : TilingBase, IEquatable<ColorBase>, IContentRootElement, IContainerElement, IFixedDocumentElement

Inheritance: objectColorBasePatternColorTilingBaseUncoloredTiling

Implements: IContainerElementIContentRootElementIEquatable<ColorBase>IFixedDocumentElement

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

Constructors

UncoloredTiling(Tiling, SimpleColor)

Creates an UncoloredTiling that reuses the geometry from tiling and paints it with the provided color at usage time.

Declaration

cs-api-definition
public UncoloredTiling(Tiling tiling, SimpleColor color)

Parameters

tiling

Tiling

The tiling.

color

SimpleColor

The color.

Properties

BoundingBox

Gets or sets the geometric bounds of the tiling cell in user space coordinates.

Declaration

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

Property Value

Rect

The bounding box.

Overrides TilingBase.BoundingBox

Color

Gets the paint color applied when this uncolored tiling is rendered.

Declaration

cs-api-definition
public SimpleColor Color { get; }

Property Value

SimpleColor

The color.

Content

Gets the content elements that make up the tiling cell (paths, text, images).

Declaration

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

Property Value

ContentElementCollection

The content.

Overrides TilingBase.Content

HorizontalSpacing

Gets or sets the horizontal spacing between adjacent tiles; defaults to the cell width when unspecified.

Declaration

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

Property Value

double

The horizontal spacing.

Overrides TilingBase.HorizontalSpacing

Position

Gets or sets the transformation applied when placing the tiling pattern.

Declaration

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

Property Value

IPosition

The position.

Overrides PatternColor.Position

Size

Gets the size of the tiling cell derived from its BoundingBox.

Declaration

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

Property Value

Size

The size.

Overrides TilingBase.Size

Tiling

Gets the underlying tiling cell geometry used by this uncolored pattern; color is provided by the current graphics state.

Declaration

cs-api-definition
public Tiling Tiling { get; }

Property Value

Tiling

The tiling.

TilingType

Gets or sets the tiling placement mode, balancing distortion allowances and rendering speed.

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 adjacent tiles; defaults to the cell height when unspecified.

Declaration

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

Property Value

double

The vertical spacing.

Overrides TilingBase.VerticalSpacing

Methods

Equals(ColorBase)

Compares this uncolored tiling with another color for value equality.

Declaration

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

Parameters

other

ColorBase

The other color to compare.

Returns

bool

True if both reference the same tiling geometry and color; otherwise, false.

Overrides ColorBase.Equals(ColorBase)