link start!
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface Graphics {
|
||||
void clip(double d, double d2, double d3, double d4);
|
||||
|
||||
void clip(IGeom iGeom);
|
||||
|
||||
void dispose();
|
||||
|
||||
void drawImage(BImage bImage, double d, double d2);
|
||||
|
||||
void drawString(String str, double d, double d2);
|
||||
|
||||
void drawString(char[] cArr, int i, int i2, double d, double d2);
|
||||
|
||||
void fill(IGeom iGeom);
|
||||
|
||||
void fillRect(double d, double d2, double d3, double d4);
|
||||
|
||||
BBrush getBrush();
|
||||
|
||||
IGeom getClip();
|
||||
|
||||
IRectGeom getClipBounds();
|
||||
|
||||
BFont getFont();
|
||||
|
||||
BPen getPen();
|
||||
|
||||
void pop();
|
||||
|
||||
void push();
|
||||
|
||||
void setBrush(BBrush bBrush);
|
||||
|
||||
void setBrush(BColor bColor);
|
||||
|
||||
void setFont(BFont bFont);
|
||||
|
||||
void setPen(BPen bPen);
|
||||
|
||||
void stroke(IGeom iGeom);
|
||||
|
||||
void strokeLine(double d, double d2, double d3, double d4);
|
||||
|
||||
void strokeRect(double d, double d2, double d3, double d4);
|
||||
|
||||
void transform(BTransform bTransform);
|
||||
|
||||
void translate(double d, double d2);
|
||||
|
||||
void useAntiAliasing(boolean z);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface IEllipseGeom extends IGeom {
|
||||
double height();
|
||||
|
||||
double width();
|
||||
|
||||
double x();
|
||||
|
||||
double y();
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface IGeom {
|
||||
public static final int ELLIPSE = 3;
|
||||
public static final int LINE = 1;
|
||||
public static final int PATH = 5;
|
||||
public static final int POLYGON = 4;
|
||||
public static final int RECT = 2;
|
||||
|
||||
IRectGeom bounds();
|
||||
|
||||
boolean contains(double d, double d2);
|
||||
|
||||
boolean contains(double d, double d2, double d3, double d4);
|
||||
|
||||
boolean contains(IGeom iGeom);
|
||||
|
||||
Object fw(int i, Object obj, Object obj2, Object obj3, Object obj4);
|
||||
|
||||
int getGeomCase();
|
||||
|
||||
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,11 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface IInsets {
|
||||
double bottom();
|
||||
|
||||
double left();
|
||||
|
||||
double right();
|
||||
|
||||
double top();
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface ILineGeom extends IGeom {
|
||||
double x1();
|
||||
|
||||
double x2();
|
||||
|
||||
double y1();
|
||||
|
||||
double y2();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface IPoint {
|
||||
double x();
|
||||
|
||||
double y();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface IPolygonGeom extends IGeom {
|
||||
int size();
|
||||
|
||||
double x(int i);
|
||||
|
||||
double[] x();
|
||||
|
||||
double y(int i);
|
||||
|
||||
double[] y();
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface IRectGeom extends IGeom {
|
||||
double height();
|
||||
|
||||
double width();
|
||||
|
||||
double x();
|
||||
|
||||
double y();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package javax.baja.gx;
|
||||
|
||||
public interface ISize {
|
||||
double height();
|
||||
|
||||
double width();
|
||||
}
|
||||
Reference in New Issue
Block a user