link start!
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package com.tridium.gx;
|
||||
|
||||
public interface FontPeer {
|
||||
double getAscent();
|
||||
|
||||
double getDescent();
|
||||
|
||||
double getHeight();
|
||||
|
||||
double getLeading();
|
||||
|
||||
double getMaxAscent();
|
||||
|
||||
double getMaxDescent();
|
||||
|
||||
double width(int i);
|
||||
|
||||
double width(String str);
|
||||
|
||||
double width(char[] cArr, int i, int i2);
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.tridium.gx;
|
||||
|
||||
import javax.baja.gx.IGeom;
|
||||
import javax.baja.gx.IRectGeom;
|
||||
|
||||
public interface GeomPeer {
|
||||
IRectGeom bounds();
|
||||
|
||||
boolean contains(double d, double d2);
|
||||
|
||||
boolean contains(double d, double d2, double d3, double d4);
|
||||
|
||||
boolean contains(IGeom iGeom);
|
||||
|
||||
IGeom intersection(double d, double d2, double d3, double d4);
|
||||
|
||||
IGeom intersection(IGeom iGeom);
|
||||
|
||||
boolean intersects(double d, double d2, double d3, double d4);
|
||||
|
||||
boolean intersects(IGeom iGeom);
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.tridium.gx;
|
||||
|
||||
import javax.baja.gx.BColor;
|
||||
import javax.baja.gx.Graphics;
|
||||
|
||||
public interface GraphPaper {
|
||||
void fillRect(Graphics graphics, double d, double d2, double d3, double d4);
|
||||
|
||||
void setColor(BColor bColor);
|
||||
|
||||
void setSize(int i);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.tridium.gx;
|
||||
|
||||
public interface GxEnvListener {
|
||||
void repaintAll();
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.tridium.gx;
|
||||
|
||||
import javax.baja.gx.BColor;
|
||||
import javax.baja.gx.Graphics;
|
||||
|
||||
public interface Hatching {
|
||||
void fillRect(Graphics graphics, double d, double d2, double d3, double d4);
|
||||
|
||||
void setColor(BColor bColor);
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.tridium.gx;
|
||||
|
||||
import javax.baja.gx.Graphics;
|
||||
|
||||
public interface ImagePeer {
|
||||
boolean animate();
|
||||
|
||||
void dispose();
|
||||
|
||||
Graphics getGraphics();
|
||||
|
||||
double getHeight();
|
||||
|
||||
int[] getPixels();
|
||||
|
||||
double getWidth();
|
||||
|
||||
boolean isLoaded();
|
||||
|
||||
void setPixels(int[] iArr);
|
||||
|
||||
void sync();
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.tridium.gx.awt;
|
||||
|
||||
import java.awt.Image;
|
||||
|
||||
public interface ImageAnimator {
|
||||
boolean animate();
|
||||
|
||||
Image getAnimatedImage();
|
||||
}
|
||||
Reference in New Issue
Block a user