TileBrushCalculator.

TileBrushCalculator(TileMode, Stretch, AlignmentX, AlignmentY, RelativeRect, RelativeRect, Size, Size) Constructor

Summary

Initializes a new instance of the TileBrushCalculator class.

Syntax

public TileBrushCalculator(TileMode tileMode, Stretch stretch, AlignmentX alignmentX, AlignmentY alignmentY, RelativeRect sourceRect, RelativeRect destinationRect, Size contentSize, Size targetSize)

Parameters

Name Type Description
tileMode TileMode The brush's tile mode.
stretch Stretch The brush's stretch.
alignmentX AlignmentX The brush's horizontal alignment.
alignmentY AlignmentY The brush's vertical alignment.
sourceRect RelativeRect The brush's source rect
destinationRect RelativeRect The brush's destination rect.
contentSize Size The size of the content of the tile brush.
targetSize Size The size of the control to which the brush is being rendered.

Return Value

Type Description
void