Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.99.2


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()}

moveToPoint(This, X, Y) -> ok

Types:

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

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

Types:

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

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

Types:

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

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

Types:

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

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

Types:

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

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

Types:

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

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

Types:

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

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

Types:

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

addLineToPoint(This, P) -> ok

Types:

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

addLineToPoint(This, X, Y) -> ok

Types:

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

addPath(This, Path) -> ok

Types:

This = wxGraphicsPath()
Path = wxGraphicsPath()

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

Types:

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

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

Types:

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

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

Types:

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

closeSubpath(This) -> ok

Types:

This = wxGraphicsPath()

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, integer()}.

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

Types:

This = wxGraphicsPath()
X = number()
Y = number()
Option = {fillStyle, integer()}

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

Types:

This = wxGraphicsPath()

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

Types:

This = wxGraphicsPath()

transform(This, Matrix) -> ok

Types:

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