wxPalette(3)

MODULE
wxPalette - See external documentation: wxPalette.

DESCRIPTION

See external documentation: wxPalette <http://www.wxwidgets.org/manuals/stable/wx_wxpalette.html>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxpalette.html#wxpalettewxpalette>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxpalette.html#wxpalettewxpalette>.

create(This::wxPalette(), Red::binary(), Green::binary(), Blue::binary()) -> bool()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxpalette.html#wxpalettecreate>.

getColoursCount(This::wxPalette()) -> integer()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxpalette.html#wxpalettegetcolourscount>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxpalette.html#wxpalettegetpixel>.

getRGB(This::wxPalette(), Pixel::integer()) -> {bool(), Red::integer(), Green::integer(), Blue::integer()}

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxpalette.html#wxpalettegetrgb>.

isOk(This::wxPalette()) -> bool()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxpalette.html#wxpaletteisok>.

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

    Destroys this object, do not use object again