height = 100;
}
- void GetLayerInfo( Property::Map& map ) const
- {
- }
-
Dali::VectorAnimationRenderer::UploadCompletedSignalType& UploadCompletedSignal()
{
return mUploadCompletedSignal;
Internal::Adaptor::GetImplementation( *this ).GetDefaultSize( width, height );
}
-void VectorAnimationRenderer::GetLayerInfo( Property::Map& map ) const
-{
- Internal::Adaptor::GetImplementation( *this ).GetLayerInfo( map );
-}
-
VectorAnimationRenderer::UploadCompletedSignalType& VectorAnimationRenderer::UploadCompletedSignal()
{
return Internal::Adaptor::GetImplementation( *this ).UploadCompletedSignal();
DALI_TEST_CHECK( value );
DALI_TEST_CHECK( value->Get< int >() == DevelImageVisual::LoopingMode::RESTART );
- value = resultMap.Find( DevelImageVisual::Property::CONTENT_INFO, Property::MAP );
- DALI_TEST_CHECK( value );
-
// request AnimatedVectorImageVisual with an URL
Visual::Base visual2 = factory.CreateVisual( TEST_VECTOR_IMAGE_FILE_NAME, ImageDimensions() );
* @details Name "loopingMode", Type LoopingMode::Type (Property::INTEGER)
* @note Default value is LoopingMode::RESTART.
*/
- LOOPING_MODE = ORIENTATION_CORRECTION + 9,
-
- /**
- * @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.
- */
- CONTENT_INFO = ORIENTATION_CORRECTION + 10
+ LOOPING_MODE = ORIENTATION_CORRECTION + 9
};
} //namespace Property
map.Insert( Toolkit::DevelImageVisual::Property::STOP_BEHAVIOR, mStopBehavior );
map.Insert( Toolkit::DevelImageVisual::Property::LOOPING_MODE, mLoopingMode );
-
- Property::Map layerInfo;
- mVectorAnimationTask->GetLayerInfo( layerInfo );
- map.Insert( Toolkit::DevelImageVisual::Property::CONTENT_INFO, layerInfo );
}
void AnimatedVectorImageVisual::DoCreateInstancePropertyMap( Property::Map& map ) const
DALI_LOG_INFO( gVectorAnimationLogFilter, Debug::Verbose, "VectorAnimationTask::SetLoopingMode: looping mode = %d [%p]\n", mLoopingMode, this );
}
-void VectorAnimationTask::GetLayerInfo( Property::Map& map ) const
-{
- mVectorRenderer.GetLayerInfo( map );
-}
-
VectorAnimationTask::UploadCompletedSignalType& VectorAnimationTask::UploadCompletedSignal()
{
return mVectorRenderer.UploadCompletedSignal();
void SetLoopingMode( DevelImageVisual::LoopingMode::Type loopingMode );
/**
- * @brief Gets the layer information of all the child layers.
- * @param[out] map The layer information
- */
- void GetLayerInfo( Property::Map& map ) const;
-
- /**
* @brief Connect to this signal to be notified when the texture upload is completed.
* @return The signal to connect to.
*/