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

    Class RawImage

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    RenderObjectWidget
    LeafRenderObjectWidget
    RawImage
    Inherited Members
    LeafRenderObjectWidget.createElement()
    RenderObjectWidget.didUnmountRenderObject(RenderObject)
    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 RawImage : LeafRenderObjectWidget

    Constructors

    RawImage(Key, Image, Nullable<Single>, Nullable<Single>, Single, Color, BlendMode, Nullable<BoxFit>, Alignment, ImageRepeat, Rect, Boolean, FilterMode)

    Declaration
    public RawImage(Key key = null, Image image = null, float? width = default(float? ), float? height = default(float? ), float scale = 1F, Color color = null, BlendMode colorBlendMode = BlendMode.srcIn, BoxFit? fit = default(BoxFit? ), Alignment alignment = null, ImageRepeat repeat = ImageRepeat.noRepeat, Rect centerSlice = null, bool invertColors = false, FilterMode filterMode = null)
    Parameters
    Type Name Description
    Key key
    Image image
    Nullable<Single> width
    Nullable<Single> height
    Single scale
    Color color
    BlendMode colorBlendMode
    Nullable<BoxFit> fit
    Alignment alignment
    ImageRepeat repeat
    Rect centerSlice
    Boolean invertColors
    FilterMode filterMode

    Fields

    alignment

    Declaration
    public readonly Alignment alignment
    Field Value
    Type Description
    Alignment

    centerSlice

    Declaration
    public readonly Rect centerSlice
    Field Value
    Type Description
    Rect

    color

    Declaration
    public readonly Color color
    Field Value
    Type Description
    Color

    colorBlendMode

    Declaration
    public readonly BlendMode colorBlendMode
    Field Value
    Type Description
    BlendMode

    filterMode

    Declaration
    public readonly FilterMode filterMode
    Field Value
    Type Description
    FilterMode

    fit

    Declaration
    public readonly BoxFit? fit
    Field Value
    Type Description
    Nullable<BoxFit>

    height

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

    image

    Declaration
    public readonly Image image
    Field Value
    Type Description
    Image

    invertColors

    Declaration
    public readonly bool invertColors
    Field Value
    Type Description
    Boolean

    repeat

    Declaration
    public readonly ImageRepeat repeat
    Field Value
    Type Description
    ImageRepeat

    scale

    Declaration
    public readonly float scale
    Field Value
    Type Description
    Single

    width

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

    Methods

    createRenderObject(BuildContext)

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

    debugFillProperties(DiagnosticPropertiesBuilder)

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

    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