wxErlang

Reference Manual

Version 1.8.2

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