|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jeuclid.elements.support.GraphicsSupport
public final class GraphicsSupport
This class contains helper functions for graphical calculations.
Field Summary | |
---|---|
static float |
MIN_LINEWIDTH
Minimum line width. |
Method Summary | |
---|---|
static float |
getFontsizeInPoint(LayoutContext context)
Gets the size of the actual font used (including scriptsizemultiplier). |
static float |
lineWidth(LayoutContext context)
Retrieve the width of a line that would be 1pt if unscaled. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final float MIN_LINEWIDTH
Method Detail |
---|
public static float getFontsizeInPoint(LayoutContext context)
context
- Layout context to use.
public static float lineWidth(LayoutContext context)
context
- Layout context to use.
MIN_LINEWIDTH
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |