class CStyle extends Object
Method Summary
public fromXML (
value:
XML
):
Void Unserializes XML into the object
public merge (
Value:
CStyle
):
CStyle public setAlpha (
Value:
Number
):
CStyle public setColor (
Value:
CColor
):
CStyle public setName (
Value:
String
):
Void Converts the specified object to a string and returns it.
Serializes the object into XML
Constructor Documentation
CStyle
public function CStyle (
)
Method Documentation
clone
public function clone (
): CStyle
fromXML
public function fromXML (
value: XML): Void
Unserializes XML into the object
Object state is set according to XML.
getAlpha
public function getAlpha (
): Number
getColor
public function getColor (
): CColor
getDefaultStyle
public static function getDefaultStyle (
): CStyle
getLineAlpha
public function getLineAlpha (
): Number
getLineColor
public function getLineColor (
): CColor
getLineThickness
public function getLineThickness (
): Number
getName
public function getName (
): String
getTexture
public function getTexture (
): CTexture
getTextureHeight
public function getTextureHeight (
): Number
getTextureWidth
public function getTextureWidth (
): Number
hasLine
public function hasLine (
): Boolean
hasTexture
public function hasTexture (
): Boolean
merge
public function merge (
Value: CStyle): CStyle
setAlpha
public function setAlpha (
Value: Number): CStyle
setColor
public function setColor (
Value: CColor): CStyle
setLineAlpha
public function setLineAlpha (
Value: Number): CStyle
setLineColor
public function setLineColor (
Value: CColor): CStyle
setLineThickness
public function setLineThickness (
Value: Number): CStyle
setName
public function setName (
Value: String): Void
setTexture
public function setTexture (
Value: CTexture): CStyle
setTextureHeight
public function setTextureHeight (
h: Number): CTexture
setTextureWidth
public function setTextureWidth (
w: Number): CTexture
toString
public function toString (
): String
Converts the specified object to a string and returns it.
toXML
public function toXML (
): XML
Serializes the object into XML
The current object state will be serialized. The
fromXML method must be able to unserialize the XML.
The documentation was generated from the following file:
- CStyle.as, Last Modified: 03.09.2004 21:31:48