12/29/2023 0 Comments Layouteditor select elementReturns: true if element is a cellRefArray otherwise false Returns: true if element is a cellRef otherwise false Returns: true if element is a box otherwise false The selection of this element is inverted. Positive value for a width in drawing-units. Returns: The height of a text-element/ width of a path. Get the width for path and text-elements. A identical transformation is returned for any other shape. Returns: the transformation for text eleemnts and cell references. If the property with this number not exists, an empty string is returned. Returns: the value string of the property num. String element::getPropertyString(int num) If it is a text: Returns an array of one point: the base point of the text.If it is a cellrefarray: Returns an array of tree points: first the base point of the reference, second base point plus space in x and third base point plus space in y.If it is a cellref: Returns an array of one point: the base point of the reference.If it is a polygon or path: Returns a array of all point of the element.If it is a box: Returns an array of two points: first the top left corner, second the lower right corner.For all other elements 0 is returned.įor a cell reference arrays the number of repetitions in y direction is return. To set the text contents use setName()įor a cell reference arrays the number of repetitions in x direction is return. The text contents for text element is returned. The value of datatype property is returned. The same value as for setCap are used (0 no caps, 1 round caps, 2 square caps): Returns: for path element the setting for the path cap is returned. ![]() This method will return NULL for any other shapes.ĭeselectAll will complete deselect this shapes independent whether it is selected complete or partial. ![]() The method will have no effect an complete selected shapes.įor cell references and cell array references the referred cell is returned as a pointer to this cell. ![]() For example if you have a path with three points and the middle point is selected, the middle point will be removed and you will get a simple line. In the case an element is partial selected, any selected point is removed from the element. Also it is often used to store the purpose of this element. This property is often used to store the energy level for electron beam writers. The datatype is a additional integer property of each element. It can ether be a shape (path, box, polygon or text) or a cell reference (cell reference or cell reference array).ġ point p1( 34, 87) 2 point p2( 267, 142) 3 double distance= element:: distance( p1, p2) Ĭlears the mirror attribute for cellrefs, cellrefarrays and text elements.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |