Class CustomPaint | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class CustomPaint

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    RenderObjectWidget
    SingleChildRenderObjectWidget
    CustomPaint
    Inherited Members
    SingleChildRenderObjectWidget.child
    SingleChildRenderObjectWidget.createElement()
    Widget.key
    Widget.toStringShort()
    Widget.debugFillProperties(DiagnosticPropertiesBuilder)
    Widget.canUpdate(Widget, Widget)
    CanonicalMixinDiagnosticableTree.pureWidget
    CanonicalMixinDiagnosticableTree.Equals(Object)
    CanonicalMixinDiagnosticableTree.GetHashCode()
    DiagnosticableTree.toStringShallow(String, DiagnosticLevel)
    DiagnosticableTree.toStringDeep(String, String, DiagnosticLevel)
    DiagnosticableTree.toDiagnosticsNode(String, DiagnosticsTreeStyle)
    DiagnosticableTree.debugDescribeChildren()
    Diagnosticable.ToString()
    Diagnosticable.toString(DiagnosticLevel)
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public class CustomPaint : SingleChildRenderObjectWidget

    Constructors

    CustomPaint(Key, CustomPainter, CustomPainter, Size, Boolean, Boolean, Widget)

    Declaration
    public CustomPaint(Key key = null, CustomPainter painter = null, CustomPainter foregroundPainter = null, Size size = null, bool isComplex = false, bool willChange = false, Widget child = null)
    Parameters
    Type Name Description
    Key key
    CustomPainter painter
    CustomPainter foregroundPainter
    Size size
    Boolean isComplex
    Boolean willChange
    Widget child

    Fields

    foregroundPainter

    Declaration
    public readonly CustomPainter foregroundPainter
    Field Value
    Type Description
    CustomPainter

    isComplex

    Declaration
    public readonly bool isComplex
    Field Value
    Type Description
    Boolean

    painter

    Declaration
    public readonly CustomPainter painter
    Field Value
    Type Description
    CustomPainter

    size

    Declaration
    public readonly Size size
    Field Value
    Type Description
    Size

    willChange

    Declaration
    public readonly bool willChange
    Field Value
    Type Description
    Boolean

    Methods

    createRenderObject(BuildContext)

    Declaration
    public override RenderObject createRenderObject(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    RenderObject
    Overrides
    RenderObjectWidget.createRenderObject(BuildContext)

    didUnmountRenderObject(RenderObject)

    Declaration
    public override void didUnmountRenderObject(RenderObject renderObject)
    Parameters
    Type Name Description
    RenderObject renderObject
    Overrides
    RenderObjectWidget.didUnmountRenderObject(RenderObject)

    updateRenderObject(BuildContext, RenderObject)

    Declaration
    public override void updateRenderObject(BuildContext context, RenderObject renderObject)
    Parameters
    Type Name Description
    BuildContext context
    RenderObject renderObject
    Overrides
    RenderObjectWidget.updateRenderObject(BuildContext, RenderObject)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023