BrushExtensionMethods
Provides extension and utility methods for Eto brushes.
Properties
ChequerTexture
#public static Bitmap ChequerTexture { get; }
Gets the white/grey chequered background texture used to show transparency. This texture is cached and should never be disposed by the caller.
Returns: Texture.
Methods
ChequerBrush
#public static TextureBrush ChequerBrush()
Create a new chequer texture brush.
Returns: New brush.
ChequerBrush
#public static TextureBrush ChequerBrush(IMatrix transform)
Create a new chequer texture brush.
Parameters:
| transform (IMatrix) | Texture transform. |
Returns: New brush.
ChequerBrush
#public static TextureBrush ChequerBrush(PointF offset)
Create a new chequer texture brush.
Parameters:
| offset (PointF) | Texture origin offset. |
Returns: New brush.