Inheritance
System.Object
RenderFittedBox
public class RenderFittedBox : RenderProxyBox, HitTestTarget, RenderObjectWithChildMixin<RenderBox>, RenderObjectWithChildMixin
Constructors
Declaration
public RenderFittedBox(BoxFit fit = BoxFit.contain, Alignment alignment = null, RenderBox child = null)
Parameters
Properties
Declaration
public Alignment alignment { get; set; }
Property Value
Declaration
public BoxFit fit { get; set; }
Property Value
Methods
Declaration
public override void applyPaintTransform(RenderObject child, Matrix3 transform)
Parameters
Overrides
Unity.UIWidgets.rendering.RenderProxyBoxMixinRenderObjectWithChildMixinRenderBox<Unity.UIWidgets.rendering.RenderBox>.applyPaintTransform(Unity.UIWidgets.rendering.RenderObject, Unity.UIWidgets.ui.Matrix3)
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
Declaration
protected override bool hitTestChildren(HitTestResult result, Offset position = null)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Unity.UIWidgets.rendering.RenderProxyBoxMixinRenderObjectWithChildMixinRenderBox<Unity.UIWidgets.rendering.RenderBox>.hitTestChildren(Unity.UIWidgets.gestures.HitTestResult, Unity.UIWidgets.ui.Offset)
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 performLayout()
Overrides
Unity.UIWidgets.rendering.RenderProxyBoxMixinRenderObjectWithChildMixinRenderBox<Unity.UIWidgets.rendering.RenderBox>.performLayout()