Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: drawing ::

struct GluePoint2
Description
This struct defines the attributes of a glue point.

A glue point is a position inside a drawing shape where an edge of a connector shape can be connected.


Elements' Summary
Position This is the position of this glue point. Depending on the flag IsRelative, this is either in 1/100cm or in 1/100%.  
IsRelative if this flag is set to true, the position of this glue point is given in 1/100% values instead of 1/100cm.  
PositionAlignment if this glue points position is not relative, this enum specifies the vertical and horizontal alignment of this point. The alignment specifies how the glue point is moved if the shape is resized.  
Escape this member specifies the escape direction for a glue point. The escape direction is the direction the connecting line escapes the shape.  
IsUserDefined if this flag is set to false, this is a default glue point. Some shapes may have default glue points attached to them which cannot be altered or removed.  
Elements' Details
Position
::com::sun::star::awt::Point Position;
Description
This is the position of this glue point. Depending on the flag IsRelative, this is either in 1/100cm or in 1/100%.
IsRelative
boolean IsRelative;
Description
if this flag is set to true, the position of this glue point is given in 1/100% values instead of 1/100cm.
PositionAlignment
Alignment PositionAlignment;
Description
if this glue points position is not relative, this enum specifies the vertical and horizontal alignment of this point. The alignment specifies how the glue point is moved if the shape is resized.
Escape
EscapeDirection Escape;
Description
this member specifies the escape direction for a glue point. The escape direction is the direction the connecting line escapes the shape.
IsUserDefined
boolean IsUserDefined;
Description
if this flag is set to false, this is a default glue point. Some shapes may have default glue points attached to them which cannot be altered or removed.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.