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

wxErlang
Reference Manual
Version 1.6


Expand All
Contract All

Table of Contents

wxPen

MODULE

wxPen

MODULE SUMMARY

See external documentation: wxPen.

DESCRIPTION

See external documentation: wxPen.

DATA TYPES

wxPen()

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

new() -> wxPen()

new(Colour) -> wxPen()

Types:

Colour = wx_colour() (see module wx)

Equivalent to new(Colour, []).

new(Colour, Option::[Option]) -> wxPen()

Types:

Colour = wx_colour() (see module wx)
Option = {width, integer()} | {style, integer()}

getCap(This) -> integer()

Types:

This = wxPen()

getColour(This) -> wx_colour4() (see module wx)

Types:

This = wxPen()

getJoin(This) -> integer()

Types:

This = wxPen()

getStyle(This) -> integer()

Types:

This = wxPen()

getWidth(This) -> integer()

Types:

This = wxPen()

isOk(This) -> boolean()

Types:

This = wxPen()

setCap(This, CapStyle) -> ok

Types:

This = wxPen()
CapStyle = wx_enum() (see module wx)

See external documentation.
CapStyle = integer

setColour(This, Colour) -> ok

Types:

This = wxPen()
Colour = wx_colour() (see module wx)

setColour(This, Red, Green, Blue) -> ok

Types:

This = wxPen()
Red = integer()
Green = integer()
Blue = integer()

setJoin(This, JoinStyle) -> ok

Types:

This = wxPen()
JoinStyle = wx_enum() (see module wx)

See external documentation.
JoinStyle = integer

setStyle(This, Style) -> ok

Types:

This = wxPen()
Style = integer()

setWidth(This, Width) -> ok

Types:

This = wxPen()
Width = integer()

destroy(This::wxPen()) -> ok

Destroys this object, do not use object again