User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 1.0

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

See external documentation.

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

See external documentation.

getCap(This) -> integer()

Types:

This = wxPen()

See external documentation.

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

Types:

This = wxPen()

See external documentation.

getJoin(This) -> integer()

Types:

This = wxPen()

See external documentation.

getStyle(This) -> integer()

Types:

This = wxPen()

See external documentation.

getWidth(This) -> integer()

Types:

This = wxPen()

See external documentation.

isOk(This) -> boolean()

Types:

This = wxPen()

See external documentation.

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)

See external documentation.

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

Types:

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

See external documentation.

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

See external documentation.

setWidth(This, Width) -> ok

Types:

This = wxPen()
Width = integer()

See external documentation.

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

Destroys this object, do not use object again