Class ImmutableTileBrush
A brush which displays a repeating image.
public abstract class ImmutableTileBrush : ITileBrush, IImmutableBrush, IBrush
- Inheritance
-
ImmutableTileBrush
- Implements
- Inherited Members
- Extension Methods
Constructors
ImmutableTileBrush(ITileBrush)
Initializes a new instance of the ImageBrush class.
protected ImmutableTileBrush(ITileBrush source)
Parameters
source
ITileBrushThe brush from which this brush's properties should be copied.
Properties
AlignmentX
Gets the horizontal alignment of a tile in the destination.
public AlignmentX AlignmentX { get; }
Property Value
AlignmentY
Gets the horizontal alignment of a tile in the destination.
public AlignmentY AlignmentY { get; }
Property Value
DestinationRect
Gets the rectangle on the destination in which to paint a tile.
public RelativeRect DestinationRect { get; }
Property Value
Opacity
Gets the opacity of the brush.
public double Opacity { get; }
Property Value
SourceRect
Gets the rectangle of the source image that will be displayed.
public RelativeRect SourceRect { get; }
Property Value
Stretch
Gets a value indicating how the source rectangle will be stretched to fill the destination rect.
public Stretch Stretch { get; }
Property Value
TileMode
Gets the brush's tile mode.
public TileMode TileMode { get; }
Property Value
Transform
Gets the transform of the brush.
public ITransform? Transform { get; }
Property Value
TransformOrigin
Gets the transform origin of the brush
public RelativePoint TransformOrigin { get; }