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

wxErlang
Reference Manual
Version 1.6.1


Expand All
Contract All

Table of Contents

wxPalette

MODULE

wxPalette

MODULE SUMMARY

See external documentation: wxPalette.

DESCRIPTION

See external documentation: wxPalette.

DATA TYPES

wxPalette()

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

new(Red, Green, Blue) -> wxPalette()

Types:

Red = binary()
Green = binary()
Blue = binary()

create(This, Red, Green, Blue) -> boolean()

Types:

This = wxPalette()
Red = binary()
Green = binary()
Blue = binary()

getColoursCount(This) -> integer()

Types:

This = wxPalette()

getPixel(This, Red, Green, Blue) -> integer()

Types:

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

getRGB(This, Pixel) -> Result

Types:

Result = {Res::boolean(), Red::integer(), Green::integer(), Blue::integer()}
This = wxPalette()
Pixel = integer()

isOk(This) -> boolean()

Types:

This = wxPalette()

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

Destroys this object, do not use object again