User Tools

Site Tools


touchcontainer

TouchContainer

The TouchContainer creates an interactive display container.

An image wrapped in a touch container that's been rotated by touch.
TouchContainer screenshot

Characteristic

Definition
Type Interactive Display Object
Category Element
Scope Local
Position *
Parents Container
Children *
Gestures *
Requirements TextFlow as first child, TextFlow namespace

Attribute

Type

Description
scale number scales the object

See Also: Display Attributes

<TouchContainer id="tc" mouseChildren="false" disableNativeTransform="false" disableAffineTransform="false">
    <Image id="logo" src="library/assets/logo.png" />
    <GestureList>
        <Gesture ref="n-drag" gestureOn="true"/>
	<Gesture ref="n-rotate" gestureOn="true"/>
	<Gesture ref="n-scale" gestureOn="true"/>
    </GestureList>
</TouchContainer>
touchcontainer.txt · Last modified: 2015/09/18 17:53 by glass