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

    Class Positioned

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    ProxyWidget
    ParentDataWidget
    ParentDataWidget<Stack>
    Positioned
    Inherited Members
    ParentDataWidget<Stack>.createElement()
    ParentDataWidget<Stack>.debugIsValidAncestor(RenderObjectWidget)
    ParentDataWidget<Stack>.debugDescribeInvalidAncestorChain(String, String, Boolean, IEnumerable<Widget>)
    ParentDataWidget.debugCanApplyOutOfTurn()
    ProxyWidget.child
    Widget.key
    Widget.toStringShort()
    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 Positioned : ParentDataWidget<Stack>

    Constructors

    Positioned(Widget, Key, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>)

    Declaration
    public Positioned(Widget child, Key key = null, float? left = default(float? ), float? top = default(float? ), float? right = default(float? ), float? bottom = default(float? ), float? width = default(float? ), float? height = default(float? ))
    Parameters
    Type Name Description
    Widget child
    Key key
    Nullable<Single> left
    Nullable<Single> top
    Nullable<Single> right
    Nullable<Single> bottom
    Nullable<Single> width
    Nullable<Single> height

    Fields

    bottom

    Declaration
    public readonly float? bottom
    Field Value
    Type Description
    Nullable<Single>

    height

    Declaration
    public readonly float? height
    Field Value
    Type Description
    Nullable<Single>

    left

    Declaration
    public readonly float? left
    Field Value
    Type Description
    Nullable<Single>

    right

    Declaration
    public readonly float? right
    Field Value
    Type Description
    Nullable<Single>

    top

    Declaration
    public readonly float? top
    Field Value
    Type Description
    Nullable<Single>

    width

    Declaration
    public readonly float? width
    Field Value
    Type Description
    Nullable<Single>

    Methods

    applyParentData(RenderObject)

    Declaration
    public override void applyParentData(RenderObject renderObject)
    Parameters
    Type Name Description
    RenderObject renderObject
    Overrides
    ParentDataWidget.applyParentData(RenderObject)

    debugFillProperties(DiagnosticPropertiesBuilder)

    Declaration
    public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
    Parameters
    Type Name Description
    DiagnosticPropertiesBuilder properties
    Overrides
    Widget.debugFillProperties(DiagnosticPropertiesBuilder)

    directional(Widget, TextDirection, Key, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>)

    Declaration
    public static Positioned directional(Widget child, TextDirection textDirection, Key key = null, float? start = default(float? ), float? top = default(float? ), float? end = default(float? ), float? bottom = default(float? ), float? width = default(float? ), float? height = default(float? ))
    Parameters
    Type Name Description
    Widget child
    TextDirection textDirection
    Key key
    Nullable<Single> start
    Nullable<Single> top
    Nullable<Single> end
    Nullable<Single> bottom
    Nullable<Single> width
    Nullable<Single> height
    Returns
    Type Description
    Positioned

    fill(Widget, Key)

    Declaration
    public static Positioned fill(Widget child, Key key = null)
    Parameters
    Type Name Description
    Widget child
    Key key
    Returns
    Type Description
    Positioned

    fromRect(Rect, Widget, Key)

    Declaration
    public static Positioned fromRect(Rect rect, Widget child, Key key = null)
    Parameters
    Type Name Description
    Rect rect
    Widget child
    Key key
    Returns
    Type Description
    Positioned

    fromRelativeRect(RelativeRect, Widget, Key)

    Declaration
    public static Positioned fromRelativeRect(RelativeRect rect, Widget child, Key key = null)
    Parameters
    Type Name Description
    RelativeRect rect
    Widget child
    Key key
    Returns
    Type Description
    Positioned
    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