|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.preferences.model.AbstractSubsystemPreferences
com.partnersoft.preferences.model.Java2dPreferences
public class Java2dPreferences
Specific preferences controlling Java2D rendering behavior.
If renderQuality is set to CUSTOM, then the other switches apply; otherwise they do not.
The custom behavior switches are extremely detailed and designed to match exactly to real Java2D features. So, they are pretty technical.
Copyright 2010 Partner Software, Inc.
| Constructor Summary | |
|---|---|
Java2dPreferences()
|
|
Java2dPreferences(Cog state)
|
|
| Method Summary | |
|---|---|
boolean |
getAntialiasFonts()
If true, fonts will be antialiased. |
boolean |
getAntialiasLines()
If true, lines will be antialiased. |
RenderingHint |
getRenderingHint()
These specify the general hints given to the underlying rendering engine. |
RenderQuality |
getRenderQuality()
Render quality preset to use. |
boolean |
getUseFractionalMetrics()
Fractional metrics are used in font rendering to improve the quality, especially for rotated text. |
void |
setAntialiasFonts(boolean antialiasFonts)
|
void |
setAntialiasLines(boolean antialiasLines)
|
void |
setRenderingHint(RenderingHint renderingHint)
|
void |
setRenderQuality(RenderQuality renderQuality)
|
void |
setUseFractionalMetrics(boolean useFractionalMetrics)
|
Cog |
toCog()
Returns the complete internal state of this object in the form of a Cog. |
| Methods inherited from class com.partnersoft.preferences.model.AbstractSubsystemPreferences |
|---|
getName, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Java2dPreferences()
public Java2dPreferences(Cog state)
| Method Detail |
|---|
public Cog toCog()
CoggableCog.
toCog in interface CoggabletoCog in class AbstractSubsystemPreferencespublic RenderQuality getRenderQuality()
public void setRenderQuality(RenderQuality renderQuality)
public boolean getAntialiasLines()
public void setAntialiasLines(boolean antialiasLines)
public boolean getAntialiasFonts()
public void setAntialiasFonts(boolean antialiasFonts)
public boolean getUseFractionalMetrics()
public void setUseFractionalMetrics(boolean useFractionalMetrics)
public RenderingHint getRenderingHint()
public void setRenderingHint(RenderingHint renderingHint)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||