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:
public class UncoloredTiling : TilingBase, IEquatable<ColorBase>, IContentRootElement, IContainerElement, IFixedDocumentElement
Inheritance: objectColorBasePatternColorTilingBaseUncoloredTiling
Implements:
Inherited Members
Constructors
Creates an UncoloredTiling that reuses the geometry from tiling and paints it with the provided color at usage time.
public UncoloredTiling(Tiling tiling, SimpleColor color)
The tiling.
colorSimpleColorThe color.
Methods
Properties
BoundingBox
Rect
Gets or sets the geometric bounds of the tiling cell in user space coordinates.
public override Rect BoundingBox { get; set; }
The bounding box.
Overrides:
Gets the paint color applied when this uncolored tiling is rendered.
public SimpleColor Color { get; }
The color.
Gets the content elements that make up the tiling cell (paths, text, images).
public override ContentElementCollection Content { get; }
The content.
Overrides:
Gets or sets the horizontal spacing between adjacent tiles; defaults to the cell width when unspecified.
public override double HorizontalSpacing { get; set; }
The horizontal spacing.
Overrides:
Gets or sets the transformation applied when placing the tiling pattern.
public override IPosition Position { get; set; }
The position.
Overrides:
Size
Size
Gets the size of the tiling cell derived from its BoundingBox.
public override Size Size { get; }
The size.
Overrides:
Gets the underlying tiling cell geometry used by this uncolored pattern; color is provided by the current graphics state.
public Tiling Tiling { get; }
The tiling.
Gets or sets the tiling placement mode, balancing distortion allowances and rendering speed.
public override TilingType TilingType { get; set; }
The type of the tiling.
Overrides:
Gets or sets the vertical spacing between adjacent tiles; defaults to the cell height when unspecified.
public override double VerticalSpacing { get; set; }
The vertical spacing.
Overrides: