|
@@ -42,7 +42,9 @@
|
|
|
* - cacheBehavior: Define how the group should behave regarding the Canvas's cache strategy, default is Group2D.GROUPCACHEBEHAVIOR_FOLLOWCACHESTRATEGY
|
|
|
* - layoutEngine: either an instance of a layout engine based class (StackPanel.Vertical, StackPanel.Horizontal) or a string ('canvas' for Canvas layout, 'StackPanel' or 'HorizontalStackPanel' for horizontal Stack Panel layout, 'VerticalStackPanel' for vertical Stack Panel layout).
|
|
|
* - isVisible: true if the group must be visible, false for hidden. Default is true.
|
|
|
- * - childrenFlatZOrder: if true all the children (direct and indirect) will share the same Z-Order. Use this when there's a lot of children which don't overlap. The drawing order IS NOT GUARANTED!
|
|
|
+ * - isPickable: if true the Primitive can be used with interaction mode and will issue Pointer Event. If false it will be ignored for interaction/intersection test. Default value is true.
|
|
|
+ * - isContainer: if true the Primitive acts as a container for interaction, if the primitive is not pickable or doesn't intersection, no further test will be perform on its children. If set to false, children will always be considered for intersection/interaction. Default value is true.
|
|
|
+ * - childrenFlatZOrder: if true all the children (direct and indirect) will share the same Z-Order. Use this when there's a lot of children which don't overlap. The drawing order IS NOT GUARANTED!
|
|
|
* - marginTop: top margin, can be a number (will be pixels) or a string (see PrimitiveThickness.fromString)
|
|
|
* - marginLeft: left margin, can be a number (will be pixels) or a string (see PrimitiveThickness.fromString)
|
|
|
* - marginRight: right margin, can be a number (will be pixels) or a string (see PrimitiveThickness.fromString)
|
|
@@ -78,6 +80,8 @@
|
|
|
cacheBehavior ?: number,
|
|
|
layoutEngine ?: LayoutEngineBase | string,
|
|
|
isVisible ?: boolean,
|
|
|
+ isPickable ?: boolean,
|
|
|
+ isContainer ?: boolean,
|
|
|
childrenFlatZOrder?: boolean,
|
|
|
marginTop ?: number | string,
|
|
|
marginLeft ?: number | string,
|