GcCmColorBase

class pygcad.pygrx.GcCmColorBase

Bases: pybind11_object

Methods Summary

assign(self, para)

C++: GcCmColorBase::operator=(const class GcCmColorBase &) --> class GcCmColorBase &

blue(self)

C++: GcCmColorBase::blue() const --> unsigned char

bookName(self)

C++: GcCmColorBase::bookName() const --> const wchar_t *

color(self)

C++: GcCmColorBase::color() const --> unsigned int

colorIndex(self)

C++: GcCmColorBase::colorIndex() const --> unsigned short

colorMethod(self)

C++: GcCmColorBase::colorMethod() const --> enum GcCmEntityColor::ColorMethod

colorName(self)

C++: GcCmColorBase::colorName() const --> const wchar_t *

colorNameForDisplay(self)

C++: GcCmColorBase::colorNameForDisplay() --> const wchar_t *

green(self)

C++: GcCmColorBase::green() const --> unsigned char

hasBookName(self)

C++: GcCmColorBase::hasBookName() const --> bool

hasColorName(self)

C++: GcCmColorBase::hasColorName() const --> bool

isByACI(self)

C++: GcCmColorBase::isByACI() const --> bool

isByBlock(self)

C++: GcCmColorBase::isByBlock() const --> bool

isByColor(self)

C++: GcCmColorBase::isByColor() const --> bool

isByLayer(self)

C++: GcCmColorBase::isByLayer() const --> bool

isByPen(self)

C++: GcCmColorBase::isByPen() const --> bool

isForeground(self)

C++: GcCmColorBase::isForeground() const --> bool

penIndex(self)

C++: GcCmColorBase::penIndex() const --> unsigned short

red(self)

C++: GcCmColorBase::red() const --> unsigned char

setBlue(self, blue)

C++: GcCmColorBase::setBlue(unsigned char) --> enum Gcad::ErrorStatus

setColor(self, color)

C++: GcCmColorBase::setColor(unsigned int) --> enum Gcad::ErrorStatus

setColorIndex(self, colorIndex)

C++: GcCmColorBase::setColorIndex(unsigned short) --> enum Gcad::ErrorStatus

setColorMethod(self, eColorMethod)

C++: GcCmColorBase::setColorMethod(enum GcCmEntityColor::ColorMethod) --> enum Gcad::ErrorStatus

setGreen(self, green)

C++: GcCmColorBase::setGreen(unsigned char) --> enum Gcad::ErrorStatus

setNames(*args, **kwargs)

Overloaded function.

setPenIndex(self, penIndex)

C++: GcCmColorBase::setPenIndex(unsigned short) --> enum Gcad::ErrorStatus

setRGB(self, red, green, blue)

C++: GcCmColorBase::setRGB(unsigned char, unsigned char, unsigned char) --> enum Gcad::ErrorStatus

setRed(self, red)

C++: GcCmColorBase::setRed(unsigned char) --> enum Gcad::ErrorStatus

Methods Documentation

assign(self: pygcad.pygrx.GcCmColorBase, para: pygcad.pygrx.GcCmColorBase) pygcad.pygrx.GcCmColorBase

C++: GcCmColorBase::operator=(const class GcCmColorBase &) –> class GcCmColorBase &

blue(self: pygcad.pygrx.GcCmColorBase) int

C++: GcCmColorBase::blue() const –> unsigned char

bookName(self: pygcad.pygrx.GcCmColorBase) str

C++: GcCmColorBase::bookName() const –> const wchar_t *

color(self: pygcad.pygrx.GcCmColorBase) int

C++: GcCmColorBase::color() const –> unsigned int

colorIndex(self: pygcad.pygrx.GcCmColorBase) int

C++: GcCmColorBase::colorIndex() const –> unsigned short

colorMethod(self: pygcad.pygrx.GcCmColorBase) pygcad.pygrx.GcCmEntityColor.ColorMethod

C++: GcCmColorBase::colorMethod() const –> enum GcCmEntityColor::ColorMethod

colorName(self: pygcad.pygrx.GcCmColorBase) str

C++: GcCmColorBase::colorName() const –> const wchar_t *

colorNameForDisplay(self: pygcad.pygrx.GcCmColorBase) str

C++: GcCmColorBase::colorNameForDisplay() –> const wchar_t *

green(self: pygcad.pygrx.GcCmColorBase) int

C++: GcCmColorBase::green() const –> unsigned char

hasBookName(self: pygcad.pygrx.GcCmColorBase) bool

C++: GcCmColorBase::hasBookName() const –> bool

hasColorName(self: pygcad.pygrx.GcCmColorBase) bool

C++: GcCmColorBase::hasColorName() const –> bool

isByACI(self: pygcad.pygrx.GcCmColorBase) bool

C++: GcCmColorBase::isByACI() const –> bool

isByBlock(self: pygcad.pygrx.GcCmColorBase) bool

C++: GcCmColorBase::isByBlock() const –> bool

isByColor(self: pygcad.pygrx.GcCmColorBase) bool

C++: GcCmColorBase::isByColor() const –> bool

isByLayer(self: pygcad.pygrx.GcCmColorBase) bool

C++: GcCmColorBase::isByLayer() const –> bool

isByPen(self: pygcad.pygrx.GcCmColorBase) bool

C++: GcCmColorBase::isByPen() const –> bool

isForeground(self: pygcad.pygrx.GcCmColorBase) bool

C++: GcCmColorBase::isForeground() const –> bool

penIndex(self: pygcad.pygrx.GcCmColorBase) int

C++: GcCmColorBase::penIndex() const –> unsigned short

red(self: pygcad.pygrx.GcCmColorBase) int

C++: GcCmColorBase::red() const –> unsigned char

setBlue(self: pygcad.pygrx.GcCmColorBase, blue: int) pygcad.pygrx.Gcad.ErrorStatus

C++: GcCmColorBase::setBlue(unsigned char) –> enum Gcad::ErrorStatus

setColor(self: pygcad.pygrx.GcCmColorBase, color: int) pygcad.pygrx.Gcad.ErrorStatus

C++: GcCmColorBase::setColor(unsigned int) –> enum Gcad::ErrorStatus

setColorIndex(self: pygcad.pygrx.GcCmColorBase, colorIndex: int) pygcad.pygrx.Gcad.ErrorStatus

C++: GcCmColorBase::setColorIndex(unsigned short) –> enum Gcad::ErrorStatus

setColorMethod(self: pygcad.pygrx.GcCmColorBase, eColorMethod: pygcad.pygrx.GcCmEntityColor.ColorMethod) pygcad.pygrx.Gcad.ErrorStatus

C++: GcCmColorBase::setColorMethod(enum GcCmEntityColor::ColorMethod) –> enum Gcad::ErrorStatus

setGreen(self: pygcad.pygrx.GcCmColorBase, green: int) pygcad.pygrx.Gcad.ErrorStatus

C++: GcCmColorBase::setGreen(unsigned char) –> enum Gcad::ErrorStatus

setNames(*args, **kwargs)

Overloaded function.

  1. setNames(self: pygcad.pygrx.GcCmColorBase, colorName: str) -> pygcad.pygrx.Gcad.ErrorStatus

  2. setNames(self: pygcad.pygrx.GcCmColorBase, colorName: str, bookName: str) -> pygcad.pygrx.Gcad.ErrorStatus

C++: GcCmColorBase::setNames(const wchar_t *, const wchar_t *) –> enum Gcad::ErrorStatus

setPenIndex(self: pygcad.pygrx.GcCmColorBase, penIndex: int) pygcad.pygrx.Gcad.ErrorStatus

C++: GcCmColorBase::setPenIndex(unsigned short) –> enum Gcad::ErrorStatus

setRGB(self: pygcad.pygrx.GcCmColorBase, red: int, green: int, blue: int) pygcad.pygrx.Gcad.ErrorStatus

C++: GcCmColorBase::setRGB(unsigned char, unsigned char, unsigned char) –> enum Gcad::ErrorStatus

setRed(self: pygcad.pygrx.GcCmColorBase, red: int) pygcad.pygrx.Gcad.ErrorStatus

C++: GcCmColorBase::setRed(unsigned char) –> enum Gcad::ErrorStatus