4 # Programming Languages {#programming-languages}
6 DALi applications can be written in several different programming languages.
11 Dali::Actor actor = Dali::Actor::New();
12 actor.SetParentOrigin( Dali::ParentOrigin::CENTER );
13 actor.SetProperty( Dali::Actor::Property::ANCHOR_POINT, Dali::AnchorPoint::CENTER );
14 Dali::Stage::GetCurrent().Add( actor );
16 bool OnPressed( Dali::Actor, const TouchData& touch )
18 Dali::Animation anim = Dali::Animation::New( 1.5f );
19 anim.AnimateTo( Property( actor, Actor::Property::POSITION ), Vector3( 200, -100, 0 ), AlphaFunctions::Bounce );
21 return true; // consume the touch event
24 actor.TouchSignal().Connect( &OnPressed );
27 ## JSON {#json-support}
40 "property":"position",
42 "alphaFunction": "BOUNCE"
52 "anchorPoint": "CENTER",
53 "parentOrigin": "CENTER",
56 { "name" : "touch", "action": "play", "animation": "move" }