de.mirell.m3d

class CStyle

Object | +--de.mirell.m3d.CStyle
Implemented Interfaces: IXMLSerializable

class CStyle extends Object
  • Author:
    Mirell Development
  • Version:
    N/A

Constructor

public CStyle ( )

Method Summary

public clone ( ): CStyle
public fromXML ( value: XML ): Void
Unserializes XML into the object
public getAlpha ( ): Number
public getColor ( ): CColor
public static getDefaultStyle ( ): CStyle
public getLineAlpha ( ): Number
public getLineColor ( ): CColor
public getLineThickness ( ): Number
public getName ( ): String
public getTexture ( ): CTexture
public getTextureHeight ( ): Number
public getTextureWidth ( ): Number
public hasLine ( ): Boolean
public hasTexture ( ): Boolean
public merge ( Value: CStyle ): CStyle
public setAlpha ( Value: Number ): CStyle
public setColor ( Value: CColor ): CStyle
public setLineAlpha ( Value: Number ): CStyle
public setLineColor ( Value: CColor ): CStyle
public setLineThickness ( Value: Number ): CStyle
public setName ( Value: String ): Void
public setTexture ( Value: CTexture ): CStyle
public setTextureHeight ( h: Number ): CTexture
public setTextureWidth ( w: Number ): CTexture
public toString ( ): String
Converts the specified object to a string and returns it.
public toXML ( ): XML
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