Summary
Initializes a new instance of the
TileBrushCalculator
class.
- Namespace
- Avalonia
.Rendering .Utilities - Containing Type
- TileBrushCalculator
Syntax
public TileBrushCalculator(ITileBrush brush, Size contentSize, Size targetSize)
Parameters
Name | Type | Description |
---|---|---|
brush | ITileBrush | The brush to be rendered. |
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 |