net.sf.opensmus
Class LRect

java.lang.Object
  extended by net.sf.opensmus.LValue
      extended by net.sf.opensmus.LRect

public class LRect
extends LValue

Class representing a Lingo compatible Rect value (LRect for short). Lingo is a trademark of Adobe, Inc. All rights reserved.


Field Summary
 LValue m_H
          H Coordinate of the Rect stored as an LValue.
 LValue m_W
          W Coordinate of the Rect stored as an LValue.
 LValue m_X
          X Coordinate of the Rect stored as an LValue.
 LValue m_Y
          Y Coordinate of the Rect stored as an LValue.
 
Fields inherited from class net.sf.opensmus.LValue
valueType, vt_3dTransform, vt_3dVector, vt_Color, vt_Date, vt_Float, vt_Integer, vt_List, vt_Media, vt_Picture, vt_Point, vt_PropList, vt_Rect, vt_String, vt_Symbol, vt_Void
 
Constructor Summary
LRect()
          Constructor
LRect(LValue x, LValue y, LValue w, LValue h)
          Constructor.
 
Method Summary
 void dump()
          Reserved for internal use of OpenSMUS.
 int extractFromBytes(byte[] rawBytes, int offset)
          Reserved for internal use of OpenSMUS.
 byte[] getBytes()
          Reserved for internal use of OpenSMUS.
 java.lang.String toString()
          Base method, returns this LValue as a String.
 
Methods inherited from class net.sf.opensmus.LValue
fromRawBytes, getLValue, getLValue, getLValue, getLValue, getLValue, getType, setType, toBytes, toDouble, toInteger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_X

public LValue m_X
X Coordinate of the Rect stored as an LValue. It can be an LInteger or an LFloat


m_Y

public LValue m_Y
Y Coordinate of the Rect stored as an LValue. It can be an LInteger or an LFloat


m_W

public LValue m_W
W Coordinate of the Rect stored as an LValue. It can be an LInteger or an LFloat


m_H

public LValue m_H
H Coordinate of the Rect stored as an LValue. It can be an LInteger or an LFloat

Constructor Detail

LRect

public LRect()
Constructor


LRect

public LRect(LValue x,
             LValue y,
             LValue w,
             LValue h)
Constructor. 4 LValues representing the Lingo Rect coordinates

Method Detail

extractFromBytes

public int extractFromBytes(byte[] rawBytes,
                            int offset)
Reserved for internal use of OpenSMUS.

Overrides:
extractFromBytes in class LValue

toString

public java.lang.String toString()
Description copied from class: LValue
Base method, returns this LValue as a String. Not guaranteed to be implemented for all value types.

Overrides:
toString in class LValue

dump

public void dump()
Reserved for internal use of OpenSMUS.

Overrides:
dump in class LValue

getBytes

public byte[] getBytes()
Reserved for internal use of OpenSMUS.

Overrides:
getBytes in class LValue