Class ImageUtils
Inheritance
System.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 | |
System.Single | scale | |
ColorFilter | colorFilter | |
System.Nullable<BoxFit> | fit | |
Alignment | alignment | |
Rect | centerSlice | |
ImageRepeat | repeat | |
System.Boolean | invertColors | |
FilterMode | filterMode |