InlineTransform (interface)¶
バージョン 1.13.0 で追加.
The InlineTransform interface is used to describe the required methods for an InlineTransform.
注釈
This might go away as soon as the virtual keyword is introduced in KL.
Functions¶
Object | addChild ! ( in Object child ) |
Object | getChild ? ( in Index index ) |
Object | getChild ? ( in String name ) |
Object | getChildByPath ? ( in String path[] ) |
Size | getChildCount ? () |
Size | getGlobalCount ? () |
Size | getLocalCount ? () |
Xfo | getLocalXfo ? ( in Index index ) |
InlineTransform | getParent ? () |
String | getPath ? () |
Boolean | hasParent ? () |
incrementVersion ! () | |
pushLocalXfo ! ( in Xfo xfo ) | |
removeAllChildren ! () | |
removeChild ! ( in Index index ) | |
removeChild ! ( in Object child ) | |
setGlobalXfo ! ( in Index index, in Xfo xfo ) | |
setLocalCount ! ( in Size n ) | |
setLocalXfo ! ( in Index index, in Xfo xfo ) | |
setParent ! ( io InlineTransform parent ) | |
setParentRef ! ( in Ref<InlineTransform> parent ) |
Functions in detail¶
Object InlineTransform.addChild! ( in Object child )
adds a child to this transform
Object InlineTransform.getChild? ( in Index index )
returns a child of this transform given an index
Object InlineTransform.getChild? ( in String name )
returns a child of this transform given a name, or null
Object InlineTransform.getChildByPath? ( in String path[] )
searches the tree for a child given a path of names.
Size InlineTransform.getChildCount? ()
returns the number of children of this transform
Size InlineTransform.getGlobalCount? ()
returns the number of global xfo values
Size InlineTransform.getLocalCount? ()
returns the number of local xfo values
Xfo InlineTransform.getLocalXfo? ( in Index index )
returns a local xfo value given an index and context
InlineTransform InlineTransform.getParent? ()
returns the parent of this transform, or null
String InlineTransform.getPath? ()
returns the path, encoding the hierarchy joined by ‘/’
Boolean InlineTransform.hasParent? ()
returns true if this transform has a parent
InlineTransform.incrementVersion! ()
empties the internal caches of this transform
InlineTransform.pushLocalXfo! ( in Xfo xfo )
adds an additional local transform
InlineTransform.removeAllChildren! ()
removes all children from this transform
InlineTransform.removeChild! ( in Index index )
removes a child object to this transform by index
InlineTransform.removeChild! ( in Object child )
removes a child to this transform
InlineTransform.setGlobalXfo! ( in Index index, in Xfo xfo )
set the global transform value. The Transform is responsible for computing local.
InlineTransform.setLocalCount! ( in Size n )
resizes the transform to store n local transform values
InlineTransform.setLocalXfo! ( in Index index, in Xfo xfo )
sets a local xfo value given an index
InlineTransform.setParent! ( io InlineTransform parent )
sets the parent of this transform
InlineTransform.setParentRef! ( in Ref<InlineTransform> parent )
internal method that sets the parent ref.
注釈
This method does not modify the parent by removing its child ref.