CanvasBrushBase Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Helper Brush class to interop with Win2D Canvas calls.
public abstract class CanvasBrushBase : Windows.UI.Xaml.Media.XamlCompositionBrushBase
type CanvasBrushBase = class
inherit XamlCompositionBrushBase
Public MustInherit Class CanvasBrushBase
Inherits XamlCompositionBrushBase
- Inheritance
-
Windows.UI.Xaml.Media.XamlCompositionBrushBaseCanvasBrushBase
- Derived
Constructors
CanvasBrushBase() |
Properties
SurfaceHeight |
Gets or sets the internal surface render height. Modify during construction. |
SurfaceWidth |
Gets or sets the internal surface render width. Modify during construction. |
Methods
OnConnected() |
Initializes the Composition Brush. |
OnDisconnected() |
Deconstructs the Composition Brush. |
OnDraw(CanvasDevice, CanvasDrawingSession, Vector2) |
Implemented by parent class and called when canvas is being constructed for brush. |