Class BoxPainter
Inheritance
System.Object
BoxPainter
Namespace: Unity.UIWidgets.painting
Syntax
public abstract class BoxPainter : IDisposable
Constructors
BoxPainter(VoidCallback)
Declaration
protected BoxPainter(VoidCallback onChanged = null)
Parameters
Type | Name | Description |
---|---|---|
VoidCallback | onChanged |
Fields
onChanged
Declaration
public readonly VoidCallback onChanged
Field Value
Type | Description |
---|---|
VoidCallback |
Methods
Dispose()
Declaration
public virtual void Dispose()
paint(Canvas, Offset, ImageConfiguration)
Declaration
public abstract void paint(Canvas canvas, Offset offset, ImageConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
Canvas | canvas | |
Offset | offset | |
ImageConfiguration | configuration |