Skip to content

Color_Type

Bases: NBOBaseClass

Represents the XML simple type Color.

A simple type that identifies itself as a Color, the value is an integer between -2,147,483,648 and 2,147,483,647 (inclusive). The value is a signed 32 bit encoding of RGBA so "-1" is #FFFFFFFF or solid white. NOTE: Prior to the 2012-06 schema the default values were incorrect and produced a transparent red not solid white.

fromBase(base) staticmethod

getTypeName()

getXMLName()

getNBOType()

getChildren()

getSubElements()

fromJsonFile(path, validate=True)

fromJsonString(json_string, validate=True)

fromXmlFile(path, validate=True)

fromXmlString(xml_string, validate=True)

toXmlFile(filename, validate=True)

toXmlString(validate=True)

set(v, validate=True)

get()