TPTP 4.2.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.igc.svg.internal
Class SVGImage

java.lang.Object
  extended byorg.eclipse.tptp.platform.report.igc.svg.internal.SVGImage
All Implemented Interfaces:
IImage

public class SVGImage
extends java.lang.Object
implements IImage


Field Summary
protected  int height_
           
protected  java.lang.String url_
           
protected  int width_
           
 
Constructor Summary
SVGImage(java.lang.String url, int w, int h)
           
 
Method Summary
 int getHeight()
           
 int getPixel(int x, int y)
           
 int getWidth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

width_

protected int width_

height_

protected int height_

url_

protected java.lang.String url_
Constructor Detail

SVGImage

public SVGImage(java.lang.String url,
                int w,
                int h)
Method Detail

getWidth

public int getWidth()
Specified by:
getWidth in interface IImage
Returns:
the width of image in pixel

getHeight

public int getHeight()
Specified by:
getHeight in interface IImage
Returns:
the height of image in pixel

getPixel

public int getPixel(int x,
                    int y)
Specified by:
getPixel in interface IImage
Returns:
pixel color using RGBA definition at given location. return transparent color (0) outside

TPTP 4.2.0 Platform Project
Internal API Specification