DesktopSDK 0.7 - PenData Library (C#) Documentation
ContentsIndexHome
Shape Members
Shape Class  Legend  Public Fields  Public Methods  Public Properties

The following tables list the members exposed by Shape.

 
Name 
Description 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Name 
Description 
 
Adds a vertex to a Shape. 
 
 
 
Immediately frees up the memory used by an object and its children. 
 
Changes Rectangle/Ellipse to make sure that the first coordinate is the upper-left and second coordinate is lower-right corner. 
 
Gets the memory size of shape object in bytes. This does not include high-level wrapper objects. 
 
Gets the number of vertices (the number of coordinate pairs) that make up a shape. This will be one in case of Point, two in case of Rectangle, Ellipse, LineSegment, and X in other cases. 
 
Gets the geometrical "size" of the shape. In the case of LineSegment, PolyLine and Stroke, it will give the length. In the case of others, it will give the area. 
 
Gets the shape type. This is an integer number. 
 
Gets a point array containing the vertices for the shape.  
 
Gets the x- and y-coordinate for the specified vertex of the shape. 
 
Gets the x,y and force for the specified vertex of the shape. 
 
Gets the x, y, force and time delta for the specified vertex of the shape. 
 
Intersects two shapes. Returns Intersect class static members. 
 
Removes a vertex from the Shape. 
 
Save 
Store a Shape to a stream. 
 
Scales the shape around a specified origo. 
 
Sets the x and y coordinate for the specified vertex of the shape. 
 
Sets the x,y and force for the specified vertex of the shape. 
 
Sets the x,y,force and time delta for the specified vertex of the shape. 
 
This is the overview for the Shape constructor overload. 
 
 
 
Generalized transform of the Shape. 
 
Translate the shape. Note that the coordinate system does not allow negative coordinates. 
 
 
 
Name 
Description 
 
 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright © 2010 Livescribe, Inc. All rights reserved.