ClassUncoloredTiling
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:
public class UncoloredTiling : TilingBase, IEquatable<ColorBase>, IContentRootElement, IContainerElement, IFixedDocumentElement
Inheritance: objectColorBasePatternColorTilingBaseUncoloredTiling
Implements:
Inherited Members
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
The tiling.
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
Rect
The bounding box.
Overrides
Color
Gets the paint color applied when this uncolored tiling is rendered.
Declaration
public SimpleColor Color { get; }
Property Value
The color.
Content
Gets the content elements that make up the tiling cell (paths, text, images).
Declaration
public override ContentElementCollection Content { get; }
Property Value
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
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
The position.
Overrides
Size
Gets the size of the tiling cell derived from its BoundingBox.
Declaration
public override Size Size { get; }
Property Value
Size
The size.
Overrides
Tiling
Gets the underlying tiling cell geometry used by this uncolored pattern; color is provided by the current graphics state.
TilingType
Gets or sets the tiling placement mode, balancing distortion allowances and rendering speed.
Declaration
public override TilingType TilingType { get; set; }
Property Value
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
The vertical spacing.
Overrides
Methods
Equals(ColorBase)
Compares this uncolored tiling with another color for value equality.