Class InkHighlight
Inherited Members
Namespace: Unity.UIWidgets.material
Syntax
public class InkHighlight : InteractiveInkFeature
Constructors
InkHighlight(MaterialInkController, RenderBox, Color, BoxShape, BorderRadius, ShapeBorder, RectCallback, VoidCallback)
Declaration
public InkHighlight(MaterialInkController controller = null, RenderBox referenceBox = null, Color color = null, BoxShape shape = BoxShape.rectangle, BorderRadius borderRadius = null, ShapeBorder customBorder = null, RectCallback rectCallback = null, VoidCallback onRemoved = null)
Parameters
Type | Name | Description |
---|---|---|
MaterialInkController | controller | |
RenderBox | referenceBox | |
Color | color | |
BoxShape | shape | |
BorderRadius | borderRadius | |
ShapeBorder | customBorder | |
RectCallback | rectCallback | |
VoidCallback | onRemoved |
Properties
active
Declaration
public bool active { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
activate()
Declaration
public void activate()
deactivate()
Declaration
public void deactivate()
dispose()
Declaration
public override void dispose()
Overrides
paintFeature(Canvas, Matrix3)
Declaration
protected override void paintFeature(Canvas canvas, Matrix3 transform)
Parameters
Type | Name | Description |
---|---|---|
Canvas | canvas | |
Matrix3 | transform |