Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtGui.QPainterPath.Element Class Reference

The QPainterPath::Element class specifies the position and type of a subpath. More...

Inheritance diagram for QtGui.QPainterPath.Element:
Collaboration diagram for QtGui.QPainterPath.Element:

Public Member Functions

 Element ()
 
 Element (QPainterPath.Element copy)
 
virtual void CreateProxy ()
 
new bool IsCurveTo ()
 
 
new bool IsLineTo ()
 
 
new bool IsMoveTo ()
 
 
new void Dispose ()
 

Protected Member Functions

 Element (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

virtual System.IntPtr SmokeObject [get, set]
 
new QPainterPath.ElementType Type [get, set]
 
 
new double X [get, set]
 
 
new double Y [get, set]
 
 

Detailed Description

The QPainterPath::Element class specifies the position and type of a subpath.

Once a QPainterPath object is constructed, subpaths like lines and curves can be added to the path (creating QPainterPath::LineToElement and QPainterPath::CurveToElement components).

The lines and curves stretch from the currentPosition() to the position passed as argument. The currentPosition() of the QPainterPath object is always the end position of the last subpath that was added (or the initial start point). The moveTo() function can be used to move the currentPosition() without adding a line or curve, creating a QPainterPath::MoveToElement component.

See also QPainterPath.

Constructor & Destructor Documentation

QtGui.QPainterPath.Element.Element ( System.Type  dummy)
protected
QtGui.QPainterPath.Element.Element ( )
QtGui.QPainterPath.Element.Element ( QPainterPath.Element  copy)

Member Function Documentation

virtual void QtGui.QPainterPath.Element.CreateProxy ( )
virtual
new void QtGui.QPainterPath.Element.Dispose ( )
new bool QtGui.QPainterPath.Element.IsCurveTo ( )

Returns true if the element is a curve, otherwise returns false.

See also type and QPainterPath::CurveToElement.

new bool QtGui.QPainterPath.Element.IsLineTo ( )

Returns true if the element is a line, otherwise returns false.

See also type and QPainterPath::LineToElement.

new bool QtGui.QPainterPath.Element.IsMoveTo ( )

Returns true if the element is moving the current position, otherwise returns false.

See also type and QPainterPath::MoveToElement.

Member Data Documentation

SmokeInvocation QtGui.QPainterPath.Element.interceptor
protected

Property Documentation

virtual System.IntPtr QtGui.QPainterPath.Element.SmokeObject
getset
new QPainterPath.ElementType QtGui.QPainterPath.Element.Type
getset

This variable holds the type of element.

See also isCurveTo(), isLineTo(), and isMoveTo().

new double QtGui.QPainterPath.Element.X
getset

This variable holds the x coordinate of the element's position.

See also operator QPointF().

new double QtGui.QPainterPath.Element.Y
getset

This variable holds the y coordinate of the element's position.

See also operator QPointF().