|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.view.Util
public final class Util
This class provides some static convenience methods and
temporary scratch variables.
Note that this is inherently flawed if used in multi-threaded environments!
If used inside a single Thread, this might be ok.
The alias(Graphics2D)
and unalias(Graphics2D)
are
thread-safe - however the use of the fields is not!
Field Summary | |
---|---|
static double[] |
DOUBLE2
Deprecated. Do not use (Threading issues) |
static double |
EPSILON
A reasonable small value ( 0.000001 ) useful for approximating 0.0. |
static float[] |
FLOAT2
Deprecated. Do not use (Threading issues) |
static float[] |
FLOAT6
Deprecated. Do not use (Threading issues) |
static Point2D |
POINT2D
Deprecated. Do not use (Threading issues) |
static AffineTransform |
TRANSFORM
Deprecated. Do not use (Threading issues) |
Method Summary | |
---|---|
static void |
alias(Graphics2D g)
Puts a graphics context in anti-aliasing mode. |
static void |
unalias(Graphics2D g)
Turns off anti-aliasing mode of a graphics context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static float[] FLOAT2
public static float[] FLOAT6
public static double[] DOUBLE2
public static Point2D POINT2D
public static AffineTransform TRANSFORM
public static final double EPSILON
Method Detail |
---|
public static void alias(Graphics2D g)
public static void unalias(Graphics2D g)
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |