Struct ImageVisualProperty
Definition
- Assembly:
- Tizen.NUI.dll
This specifies properties of the ImageVisual.
public struct ImageVisualProperty
Fields
View SourceAlphaMaskURL
The URL of the alpha mask image.
Declaration
public static readonly int AlphaMaskURL
Field Value
Type | Description |
---|---|
int |
Atlasing
Whether to use the texture atlas.
Declaration
public static readonly int Atlasing
Field Value
Type | Description |
---|---|
int |
AuxiliaryImageAlpha
Alpha value for the auxiliary image, without affecting the underlying NPatch image
Declaration
public static readonly int AuxiliaryImageAlpha
Field Value
Type | Description |
---|---|
int |
AuxiliaryImageURL
Overlays the auxiliary image on top of an NPatch image.
Declaration
public static readonly int AuxiliaryImageURL
Field Value
Type | Description |
---|---|
int |
BatchSize
Defines the batch size for pre-loading images in the AnimatedImageVisual
Declaration
public static readonly int BatchSize
Field Value
Type | Description |
---|---|
int |
Border
The border of the image.
Declaration
public static readonly int Border
Field Value
Type | Description |
---|---|
int |
BorderOnly
If true, only draws the borders.
Declaration
public static readonly int BorderOnly
Field Value
Type | Description |
---|---|
int |
CacheSize
Defines the cache size for loading images in the AnimatedImageVisual
Declaration
public static readonly int CacheSize
Field Value
Type | Description |
---|---|
int |
ContentInfo
@brief The content information the AnimatedVectorImageVisual will use. @details Name "contentInfo", Type Property::MAP. The map contains the layer name as a key and Property::Array as a value. And the array contains 2 integer values which are the frame numbers, the start frame number and the end frame number of the layer. @note This property is read-only.
Declaration
public static readonly int ContentInfo
Field Value
Type | Description |
---|---|
int |
Remarks
Inhouse API
CropToMask
Whether to crop image to mask or scale mask to fit image
Declaration
public static readonly int CropToMask
Field Value
Type | Description |
---|---|
int |
CurrentFrameNumber
@brief The current frame number the AnimatedVectorImageVisual will use. @details Name "currentFrameNumber", Type Property::INTEGER, between[0, the maximum frame number] or between the play range if specified @note This property is read-only.
Declaration
public static readonly int CurrentFrameNumber
Field Value
Type | Description |
---|---|
int |
Remarks
Inhouse API
DesiredHeight
The desired image height.
Declaration
public static readonly int DesiredHeight
Field Value
Type | Description |
---|---|
int |
DesiredWidth
The desired image width.
Declaration
public static readonly int DesiredWidth
Field Value
Type | Description |
---|---|
int |
EnableFrameCache
@brief Whether to animated image visual uses fixed cache or not. @details type Property::BOOLEAN. If this property is true, animated image visual uses fixed cache for loading and keeps loaded frame until the visual is removed. It reduces CPU cost when the animated image will be looping. But it can spend a lot of memory if the resource has high resolution image or many frame count. @note It is used in the AnimatedImageVisual. The default is false
Declaration
public static readonly int EnableFrameCache
Field Value
Type | Description |
---|---|
int |
FastTrackUploading
@brief Whether to uploading texture before ResourceReady signal emit or after texture load completed time. @details Name "fastTrackUploading", type Property::BOOLEAN. @note It is used in the ImageVisual. The default is false.
Declaration
public static readonly int FastTrackUploading
Field Value
Type | Description |
---|---|
int |
FittingMode
Fitting options, used when resizing images to fit desired dimensions.
Declaration
public static readonly int FittingMode
Field Value
Type | Description |
---|---|
int |
FrameDelay
The number of milliseconds between each frame in the AnimatedImageVisual
Declaration
public static readonly int FrameDelay
Field Value
Type | Description |
---|---|
int |
LoadPolicy
The policy to determine when an image should be loaded.
Declaration
public static readonly int LoadPolicy
Field Value
Type | Description |
---|---|
int |
LoopCount
The number of times the AnimatedImageVisual will be looped. The default is -1. If the value is less than 0, loop unlimited. Otherwise, loop loopCount times.
Declaration
public static readonly int LoopCount
Field Value
Type | Description |
---|---|
int |
LoopingMode
@brief The looping mode the AnimatedVectorImageVisual will use. @details Name "loopingMode", Type LoopingMode::Type (Property::INTEGER) @note Default value is LoopingMode::RESTART.
Declaration
public static readonly int LoopingMode
Field Value
Type | Description |
---|---|
int |
Remarks
Inhouse API
MarkerInfo
@brief The marker information the AnimatedVectorImageVisual will use. @details Type Property::MAP. The map contains the marker name as a key and Property::Array as a value. And the array contains 2 integer values which are the frame numbers, the start frame number and the end frame number of the marker. @note This property is read-only.
Declaration
public static readonly int MarkerInfo
Field Value
Type | Description |
---|---|
int |
MaskContentScale
The scale factor to apply to the content image before masking.
Declaration
public static readonly int MaskContentScale
Field Value
Type | Description |
---|---|
int |
MaskingMode
@brief Whether to apply mask on the GPU or not. @details Name "MaskingMode", type MaskingModeType (Property::INTEGER). @note It is used in the ImageVisual, and AnimatedImageVisual.The default is MaskingOnLoading.
Declaration
public static readonly int MaskingMode
Field Value
Type | Description |
---|---|
int |
OrientationCorrection
Determines if image orientation should be corrected so that the image displays as it was intended.
Declaration
public static readonly int OrientationCorrection
Field Value
Type | Description |
---|---|
int |
PixelArea
The image area to be displayed.
Declaration
public static readonly int PixelArea
Field Value
Type | Description |
---|---|
int |
PlayRange
@brief The playing range the AnimatedVectorImageVisual will use. Animation will play between the values specified.The array can only have two values, and more will be ignored. Both values should be between 0 and the total frame number, otherwise they will be ignored. If the range provided is not in proper order (minimum, maximum), it will be reordered. @details Name "playRange", Type Property::ARRAY of Property::INTEGER @note Default 0 and the total frame number.
Declaration
public static readonly int PlayRange
Field Value
Type | Description |
---|---|
int |
Remarks
Hidden API (Inhouse API)
PlayState
@brief The playing state the AnimatedVectorImageVisual will use. @details Name "playState", type PlayState (Property::INTEGER) @note This property is read-only.
Declaration
public static readonly int PlayState
Field Value
Type | Description |
---|---|
int |
Remarks
Hidden API (Inhouse API)
RedrawInScalingDown
@brief Whether to redraw the image when the visual is scaled down. @details Name "redrawInScalingDown", type Property::BOOLEAN. @note It is used in the AnimatedVectorImageVisual.The default is true.
Declaration
public static readonly int RedrawInScalingDown
Field Value
Type | Description |
---|---|
int |
Remarks
Inhouse API
ReleasePolicy
The policy to determine when an image should no longer be cached.
Declaration
public static readonly int ReleasePolicy
Field Value
Type | Description |
---|---|
int |
SamplingMode
Filtering options, used when resizing images to sample original pixels.
Declaration
public static readonly int SamplingMode
Field Value
Type | Description |
---|---|
int |
StopBehavior
@brief The stop behavior the AnimatedVectorImageVisual will use. @details Name "stopBehavior", Type StopBehavior::Type (Property::INTEGER) @note Default value is StopBehavior::CURRENT_FRAME.
Declaration
public static readonly int StopBehavior
Field Value
Type | Description |
---|---|
int |
Remarks
Inhouse API
SynchronousLoading
Whether to load the image synchronously.
Declaration
public static readonly int SynchronousLoading
Field Value
Type | Description |
---|---|
int |
TotalFrameNumber
@brief The total frame number the AnimatedVectorImageVisual will use. @details Name "totalFrameNumber", Type Property::INTEGER. @note This property is read-only.
Declaration
public static readonly int TotalFrameNumber
Field Value
Type | Description |
---|---|
int |
Remarks
Inhouse API
URL
The URL of the image.
Declaration
public static readonly int URL
Field Value
Type | Description |
---|---|
int |
WrapModeU
The wrap mode for u coordinate.
Declaration
public static readonly int WrapModeU
Field Value
Type | Description |
---|---|
int |
WrapModeV
The wrap mode for v coordinate.
Declaration
public static readonly int WrapModeV
Field Value
Type | Description |
---|---|
int |