Class UncoloredTiling
Tiling pattern that omits color so the paint is supplied externally; use to reuse geometry while applying different colors at draw time.
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.ColorSpaces
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class UncoloredTiling : TilingBase, IEquatable<ColorBase>, IInstanceIdOwner, IContentRootElement, IContainerElement, IFixedDocumentElement, ITiling, IPatternColor
Constructors
UncoloredTiling(Tiling, SimpleColor)
Creates an UncoloredTiling that reuses the geometry from tiling and paints it with the provided color at usage time.
Declaration
public UncoloredTiling(Tiling tiling, SimpleColor color)
Parameters
|
Tiling
tiling
The tiling. |
|
SimpleColor
color
The color. |
Properties
BoundingBox
Gets or sets the geometric bounds of the tiling cell in user space coordinates.
Declaration
public override Rect BoundingBox { get; set; }
Property Value
|
System.Windows.Rect
The bounding box. |
Overrides
Color
Gets the paint color applied when this uncolored tiling is rendered.
Declaration
public SimpleColor Color { get; }
Property Value
|
SimpleColor
The color. |
Content
Gets the content elements that make up the tiling cell (paths, text, images).
Declaration
public override ContentElementCollection Content { get; }
Property Value
|
ContentElementCollection
The content. |
Overrides
HorizontalSpacing
Gets or sets the horizontal spacing between adjacent tiles; defaults to the cell width when unspecified.
Declaration
public override double HorizontalSpacing { get; set; }
Property Value
|
System.Double
The horizontal spacing. |
Overrides
Position
Gets or sets the transformation applied when placing the tiling pattern.
Declaration
public override IPosition Position { get; set; }
Property Value
|
IPosition
The position. |
Overrides
Size
Gets the size of the tiling cell derived from its BoundingBox.
Declaration
public override Size Size { get; }
Property Value
|
System.Windows.Size
The size. |
Overrides
Tiling
Gets the underlying tiling cell geometry used by this uncolored pattern; color is provided by the current graphics state.
Declaration
public Tiling Tiling { get; }
Property Value
|
Tiling
The tiling. |
TilingType
Gets or sets the tiling placement mode, balancing distortion allowances and rendering speed.
Declaration
public override TilingType TilingType { get; set; }
Property Value
|
TilingType
The type of the tiling. |
Overrides
VerticalSpacing
Gets or sets the vertical spacing between adjacent tiles; defaults to the cell height when unspecified.
Declaration
public override double VerticalSpacing { get; set; }
Property Value
|
System.Double
The vertical spacing. |
Overrides
Methods
Equals(ColorBase)
Compares this uncolored tiling with another color for value equality.
Declaration
public override bool Equals(ColorBase other)
Parameters
|
ColorBase
other
The other color to compare. |
Returns
|
System.Boolean
True if both reference the same tiling geometry and color; otherwise, false. |