<?xml version="1.0" encoding="Windows-1255" ?><Aspect name="Polyshape" role="GmlDrawing" inherit="core.svg:Shape" hierarchy="GMLDOM" id="core.svg:Polyshape" sort="22" urn="core.svg:drawing.Polyshape.gs" toc="\Planar Drawing"><Summary>Base aspect for drawing multi-part shapes.</Summary><Inherit><q ref="core.svg:Shape">Shape</q></Inherit><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright> <Topics> <Property name="bodyParts" static="Yes" access="RO" type="SHAPE_PARTS[]" default="null" modifier="static" typeRef="<q ref="core.svg:Polyshape!SHAPE_PARTS">SHAPE_PARTS</q>[]" sortGroup="true" scope="public" id="core.svg:Polyshape!bodyParts" sort="34" group="Properties" seq="0000"><Summary>Gets the definition of the shape's body parts.</Summary><Remarks><ul><li>Use this property to define the graphical parts that draw the shape's contents. </li><li>The bounding box of the body parts defines the shape's size during auto-size calculations. Therefore, body parts cannot be defined using dynamic formulas that depend on the shape's size (since this would result in cyclic dependencies). </li></ul></Remarks></Property> <Property name="frameParts" static="Yes" access="RO" type="SHAPE_PARTS[]" default="null" modifier="static" typeRef="<q ref="core.svg:Polyshape!SHAPE_PARTS">SHAPE_PARTS</q>[]" sortGroup="true" scope="public" id="core.svg:Polyshape!frameParts" sort="34" group="Properties" seq="0001"><Summary>Gets the definition of the shape's frame parts.</Summary><Remarks><ul><li>Use this property to define the graphical parts that draw the shape's frame. </li><li>The frame parts do not contribute to the shape's size during auto-size calculations. Therefore, frame parts can be defined using dynamic formulas that depend on the shape's size (frame parts defined in this way will be adjusted whenever the shape's size changes). </li></ul></Remarks></Property> <Structure name="SHAPE_PARTS" sortGroup="true" id="core.svg:Polyshape!SHAPE_PARTS" sort="41" group="Structures" seq="0002"><Summary>An array of SVG shape parts definitions.</Summary><Remarks><p>The SHAPE_PARTS structure is an array of objects, each representing a single shape part. The shape part's <code>type</code> attribute defines the type of SVG element that will be created. All the basic SVG element types can be used, including <code>rect,</code> <code>circle,</code> <code>ellipse,</code> <code>line,</code> <code>polyline,</code> <code>polygon,</code> <code>path,</code> <code>text,</code> and <code>image.</code> The remaining attributes are visual attributes specific to the shape part's type. See the SVG 1.1 Specification (www.w3.org/TR/2003/REC-SVG11-20030114) for more details.</p> <p>All shape part attributes (except for type) can be expressed using dynamic formulas. A dynamic formula is string containing a valid JavaScript expression that involves one or more GML property references. A GML aspect property reference is written by adding the &#64; prefix (e.g., &#64;fontSize). A GML object property reference is written by adding both the &#64; prefix and ! suffix (e.g., &#64;name!). The ! suffix can be omitted from an object property reference, provided there is no aspect property with the same name.</p> <p>NOTE: Dynamic formulas that depend on shape size cannot be used for the body parts of auto-sized shapes. Otherwise, cyclic dependencies will be created, resulting in inconsistent shape resize behavior. </p></Remarks></Structure> </Topics> </Aspect>