public final class NorthArrowGraphic
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.net.URI |
create(java.awt.Dimension targetSize,
java.lang.String graphicFile,
java.awt.Color backgroundColor,
java.lang.Double rotation,
java.io.File workingDir,
MfClientHttpRequestFactory clientHttpRequestFactory,
boolean allowTransparency)
Creates the north-arrow graphic.
|
public static java.net.URI create(java.awt.Dimension targetSize,
java.lang.String graphicFile,
java.awt.Color backgroundColor,
java.lang.Double rotation,
java.io.File workingDir,
MfClientHttpRequestFactory clientHttpRequestFactory,
boolean allowTransparency)
throws java.lang.Exception
Scales the given graphic to the given size and applies the given rotation.
targetSize - The size of the graphic to create.graphicFile - The graphic to use as north-arrow.backgroundColor - The background color.rotation - The rotation to apply.workingDir - The directory in which the graphic is created.clientHttpRequestFactory - The request factory.allowTransparency - True is transparency is allowedjava.lang.Exception