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

interface XShape
Base Interfaces
XShapeXShapeDescriptor

XShapeDescriptor
(referenced interface's summary:)
offers some settings which are allowed even for objects which are not yet inserted into a draw page.
Description
lets you do a basic transformation on a Shape and get its type.

Methods' Summary
getPosition gets the current position of this object.  
setPosition sets the current position of this object  
getSize gets the size of this object.  
setSize sets the size of this object.  
Methods' Details
getPosition
::com::sun::star::awt::Point
getPosition();

Description
gets the current position of this object.
Returns
the position of the top left edge in 100/th mm
setPosition
void
setPosition( [in] ::com::sun::star::awt::Point  aPosition );

Description
sets the current position of this object
Parameter aPosition
the position of the top left edge in 100/th mm
getSize
::com::sun::star::awt::Size
getSize();

Description
gets the size of this object.
Returns
the size in 100/th mm
setSize
void
setSize( [in] ::com::sun::star::awt::Size  aSize )
raises( ::com::sun::star::beans::PropertyVetoException );

Description
sets the size of this object.
Parameter aSize
the size in 100/th mm
Top of Page