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

    Class ImageUtils

    Inheritance
    Object
    ImageUtils
    Namespace: Unity.UIWidgets.painting
    Syntax
    public static class ImageUtils

    Methods

    paintImage(Canvas, Rect, Image, Single, ColorFilter, Nullable<BoxFit>, Alignment, Rect, ImageRepeat, Boolean, FilterMode)

    Declaration
    public static void paintImage(Canvas canvas = null, Rect rect = null, Image image = null, float scale = 1F, ColorFilter colorFilter = null, BoxFit? fit = default(BoxFit? ), Alignment alignment = null, Rect centerSlice = null, ImageRepeat repeat = ImageRepeat.noRepeat, bool invertColors = false, FilterMode filterMode = null)
    Parameters
    Type Name Description
    Canvas canvas
    Rect rect
    Image image
    Single scale
    ColorFilter colorFilter
    Nullable<BoxFit> fit
    Alignment alignment
    Rect centerSlice
    ImageRepeat repeat
    Boolean invertColors
    FilterMode filterMode
    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