GP.Graphics
Class Image
java.lang.Object
|
+--GP.Graphics.Shape
|
+--GP.Graphics.Image
- All Implemented Interfaces:
- Behavioral, Colorable, Graphic, Movable, Orientable, Originable, Playable, Positionable, Reactive, Refreshable, Scalable, Selectable, Viewable
- Direct Known Subclasses:
- Canvas, Movie, Sound
- public class Image
- extends Shape
| Methods inherited from class GP.Graphics.Shape |
Act, AddBehavior, ApplyBehaviors, ApplyInstincts, DeSelect, equals, Fill, Frame, GetApplet, GetBoxBoundedSize, GetColor, GetContainer, GetCurrentTime, GetFillStyle, GetOrientation, GetPivot, GetPosition, Hide, IsPositionInside, IsVisible, Move, Move, Move, MoveBackward, MoveForward, MoveToBack, MoveToFront, Pause, Play, PositionIsOnlyInsideMe, PreferedSize, React, Refresh, RemoveAllBehaviors, RemoveBehavior, ReplaceAllBehaviors, Scale, Scale, Select, SetColor, SetContainer, SetFillStyle, SetOrientation, SetPivot, SetPosition, Show, Show, Start, Stop, Turn, Turn, Turn, Turn, Turn, Turn |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Image
public Image(java.lang.String url)
Image
public Image(Container container,
java.lang.String url)
Image
public Image(Container container,
Image image)
Image
public Image(Image image)
Image
public Image(Container container,
java.awt.Image awtImage)
Image
public Image(java.awt.Image awtImage)
Copy
public Graphic Copy()
- Overrides:
Copy in class Shape
toString
public java.lang.String toString()
- Overrides:
toString in class Shape
SetAWTImage
public void SetAWTImage(java.awt.Image image)
Initialized
public boolean Initialized()
GetAWTImage
public java.awt.Image GetAWTImage()
GetSize
public Size GetSize()
- Description copied from interface:
Scalable
- This method should return the current size of the object.
- Overrides:
GetSize in class Shape
- Following copied from interface:
GP.Scalable
- Returns:
- the current size of the object
SetSize
public void SetSize(Size size)
- This method is not yet implemented
- Overrides:
SetSize in class Shape
- Parameters:
size -
Scale
public void Scale(double scaleWidth,
double scaleHeight)
- This method is not yet implemented
- Overrides:
Scale in class Shape
- Parameters:
size -
GetName
public java.lang.String GetName()