Inheritance
System.Object
RenderCustomPaint
public class RenderCustomPaint : RenderProxyBox, HitTestTarget, RenderObjectWithChildMixin<RenderBox>, RenderObjectWithChildMixin
Constructors
Declaration
public RenderCustomPaint(CustomPainter painter = null, CustomPainter foregroundPainter = null, Size preferredSize = null, bool isComplex = false, bool willChange = false, RenderBox child = null)
Parameters
Fields
Declaration
Field Value
Type |
Description |
System.Boolean |
|
Declaration
Field Value
Type |
Description |
System.Boolean |
|
Properties
Declaration
public CustomPainter foregroundPainter { get; set; }
Property Value
Declaration
public CustomPainter painter { get; set; }
Property Value
Declaration
public Size preferredSize { get; set; }
Property Value
Methods
Declaration
public override void attach(object owner)
Parameters
Type |
Name |
Description |
System.Object |
owner |
|
Overrides
Unity.UIWidgets.rendering.RenderObjectWithChildMixinRenderBox<Unity.UIWidgets.rendering.RenderBox>.attach(System.Object)
Declaration
public override void detach()
Overrides
Unity.UIWidgets.rendering.RenderObjectWithChildMixinRenderBox<Unity.UIWidgets.rendering.RenderBox>.detach()
Declaration
protected override bool hitTestChildren(HitTestResult result, Offset position)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Unity.UIWidgets.rendering.RenderProxyBoxMixinRenderObjectWithChildMixinRenderBox<Unity.UIWidgets.rendering.RenderBox>.hitTestChildren(Unity.UIWidgets.gestures.HitTestResult, Unity.UIWidgets.ui.Offset)
Declaration
protected override bool hitTestSelf(Offset position)
Parameters
Type |
Name |
Description |
Offset |
position |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
paint(PaintingContext, Offset)
Declaration
public override void paint(PaintingContext context, Offset offset)
Parameters
Overrides
Unity.UIWidgets.rendering.RenderProxyBoxMixinRenderObjectWithChildMixinRenderBox<Unity.UIWidgets.rendering.RenderBox>.paint(Unity.UIWidgets.rendering.PaintingContext, Unity.UIWidgets.ui.Offset)
Declaration
protected override void performResize()
Overrides