struct GluePoint2 in module com::sun::star::drawing::

(Global Index)

Syntax

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.

Field 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.

Field Details



Position

Syntax

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

Syntax

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

Syntax

com::sun::star::drawing::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

Syntax

com::sun::star::drawing::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

Syntax

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