Inheritance
System.Object
RenderPhysicalModel
public class RenderPhysicalModel : _RenderPhysicalModelBase<RRect>, HitTestTarget, RenderObjectWithChildMixin<RenderBox>, RenderObjectWithChildMixin
Constructors
Declaration
public RenderPhysicalModel(RenderBox child = null, BoxShape shape = BoxShape.rectangle, Clip clipBehavior = Clip.none, BorderRadius borderRadius = null, float? elevation, Color color = null, Color shadowColor = null)
Parameters
Properties
Declaration
protected override RRect _defaultClip { get; }
Property Value
Overrides
Unity.UIWidgets.rendering._RenderCustomClip<Unity.UIWidgets.ui.RRect>._defaultClip
Declaration
public BorderRadius borderRadius { get; set; }
Property Value
Declaration
public BoxShape shape { get; set; }
Property Value
Methods
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder description)
Parameters
Overrides
Unity.UIWidgets.rendering._RenderPhysicalModelBase<Unity.UIWidgets.ui.RRect>.debugFillProperties(Unity.UIWidgets.foundation.DiagnosticPropertiesBuilder)
Declaration
public override bool hitTest(HitTestResult result, Offset position = null)
Parameters
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)