User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 1.0

Expand All
Contract All

Table of Contents

# wxGraphicsPath

### MODULE

wxGraphicsPath

### MODULE SUMMARY

See external documentation: wxGraphicsPath.

### DESCRIPTION

See external documentation: wxGraphicsPath.

This class is derived (and can use functions) from:
wxGraphicsObject

### DATA TYPES

wxGraphicsPath()

  An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

### EXPORTS

moveToPoint(This, P) -> ok

Types:

This = wxGraphicsPath()
P = {X::float(), Y::float()}

See external documentation.

moveToPoint(This, X, Y) -> ok

Types:

This = wxGraphicsPath()
X = number()
Y = number()

See external documentation.

addArc(This, C, R, StartAngle, EndAngle, Clockwise) -> ok

Types:

This = wxGraphicsPath()
C = {X::float(), Y::float()}
R = number()
StartAngle = number()
EndAngle = number()
Clockwise = boolean()

See external documentation.

addArc(This, X, Y, R, StartAngle, EndAngle, Clockwise) -> ok

Types:

This = wxGraphicsPath()
X = number()
Y = number()
R = number()
StartAngle = number()
EndAngle = number()
Clockwise = boolean()

See external documentation.

addArcToPoint(This, X1, Y1, X2, Y2, R) -> ok

Types:

This = wxGraphicsPath()
X1 = number()
Y1 = number()
X2 = number()
Y2 = number()
R = number()

See external documentation.

addCircle(This, X, Y, R) -> ok

Types:

This = wxGraphicsPath()
X = number()
Y = number()
R = number()

See external documentation.

addCurveToPoint(This, C1, C2, E) -> ok

Types:

This = wxGraphicsPath()
C1 = {X::float(), Y::float()}
C2 = {X::float(), Y::float()}
E = {X::float(), Y::float()}

See external documentation.

addCurveToPoint(This, Cx1, Cy1, Cx2, Cy2, X, Y) -> ok

Types:

This = wxGraphicsPath()
Cx1 = number()
Cy1 = number()
Cx2 = number()
Cy2 = number()
X = number()
Y = number()

See external documentation.

addEllipse(This, X, Y, W, H) -> ok

Types:

This = wxGraphicsPath()
X = number()
Y = number()
W = number()
H = number()

See external documentation.

addLineToPoint(This, P) -> ok

Types:

This = wxGraphicsPath()
P = {X::float(), Y::float()}

See external documentation.

addLineToPoint(This, X, Y) -> ok

Types:

This = wxGraphicsPath()
X = number()
Y = number()

See external documentation.

addPath(This, Path) -> ok

Types:

This = wxGraphicsPath()
Path = wxGraphicsPath()

See external documentation.

addQuadCurveToPoint(This, Cx, Cy, X, Y) -> ok

Types:

This = wxGraphicsPath()
Cx = number()
Cy = number()
X = number()
Y = number()

See external documentation.

addRectangle(This, X, Y, W, H) -> ok

Types:

This = wxGraphicsPath()
X = number()
Y = number()
W = number()
H = number()

See external documentation.

addRoundedRectangle(This, X, Y, W, H, Radius) -> ok

Types:

This = wxGraphicsPath()
X = number()
Y = number()
W = number()
H = number()
Radius = number()

See external documentation.

closeSubpath(This) -> ok

Types:

This = wxGraphicsPath()

See external documentation.

contains(This, C) -> boolean()

Types:

This = wxGraphicsPath()
C = {X::float(), Y::float()}

Equivalent to contains(This, C, []).

contains(This, X, Y) -> boolean()

Types:

This = wxGraphicsPath()
X = number()
Y = number()

See external documentation.
Also:
contains(This, C, [Option]) -> boolean() when
This::wxGraphicsPath(), C::{X::float(), Y::float()},
Option :: {fillStyle, wx:wx_enum()}.

FillStyle = integer

contains(This, X, Y, Option::[Option]) -> boolean()

Types:

This = wxGraphicsPath()
X = number()
Y = number()
Option = {fillStyle, wx_enum() (see module wx)}

See external documentation.
FillStyle = integer

getBox(This) -> {X::float(), Y::float(), W::float(), H::float()}

Types:

This = wxGraphicsPath()

See external documentation.

getCurrentPoint(This) -> {X::float(), Y::float()}

Types:

This = wxGraphicsPath()

See external documentation.

transform(This, Matrix) -> ok

Types:

This = wxGraphicsPath()
Matrix = wxGraphicsMatrix() (see module wxGraphicsMatrix)

See external documentation.