wxErlang

Reference Manual

Version 1.8.1

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

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

moveToPoint(This, X, Y) -> ok

Types

X = number()
Y = number()

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

Types

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

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

Types

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

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

Types

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

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

Types

X = number()
Y = number()
R = number()

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

Types

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

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

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

Types

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

addLineToPoint(This, P) -> ok

Types

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

addLineToPoint(This, X, Y) -> ok

Types

X = number()
Y = number()

addPath(This, Path) -> ok

Types

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

Types

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

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

Types

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

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

Types

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

closeSubpath(This) -> ok

Types

contains(This, C) -> boolean()

Types

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

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

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

Types

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, Options::[Option]) -> boolean()

Types

X = number()
Y = number()
Option = {fillStyle, wx:wx_enum()}

See external documentation.
FillStyle = integer

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

Types

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

Types

transform(This, Matrix) -> ok