- label01.SetAnchorPoint( AnchorPoint::CENTER );
- label01.SetParentOrigin( ParentOrigin::CENTER );
- label01.SetSize( 400.f, 50.f );
- label01.SetPosition( 0.f, -100.f );
+ label01.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER );
+ label01.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER );
+ label01.SetProperty( Actor::Property::SIZE, Vector2( 400.f, 50.f ) );
+ label01.SetProperty( Actor::Property::POSITION, Vector2( 0.f, -100.f ));