Class ImageExtensions
Inheritance
System.Object
ImageExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Tizen.UIExtensions.ElmSharp
Assembly: Tizen.UIExtensions.ElmSharp.dll
Syntax
public static class ImageExtensions
Methods
GetAspect(ElmSharp.Image)
Gets the scaling mode for the image.
Declaration
public static Aspect GetAspect(this ElmSharp.Image view)
Parameters
Type | Name | Description |
---|---|---|
ElmSharp.Image | view | Target view |
Returns
Type | Description |
---|---|
Aspect | A Aspect representing the scaling mode of the image. |
SetAspect(ElmSharp.Image, Aspect)
Sets the scaling mode for the image.
Declaration
public static void SetAspect(this ElmSharp.Image view, Aspect aspect)
Parameters
Type | Name | Description |
---|---|---|
ElmSharp.Image | view | Target view |
Aspect | aspect | A Aspect representing the scaling mode of the image. |
SetIsAnimationPlaying(ElmSharp.Image, Boolean)
Set animation playing state
Declaration
public static void SetIsAnimationPlaying(this ElmSharp.Image view, bool value)
Parameters
Type | Name | Description |
---|---|---|
ElmSharp.Image | view | Image view |
System.Boolean | value | playing state |
Remarks
Should be called after image loading