Package uk.ac.starlink.ttools.plot2.geom
Class SkySurfaceFactory.Profile
- java.lang.Object
-
- uk.ac.starlink.ttools.plot2.geom.SkySurfaceFactory.Profile
-
- Enclosing class:
- SkySurfaceFactory
public static class SkySurfaceFactory.Profile extends java.lang.Object
Profile class which defines fixed configuration items for a SkySurface. Instances of this class are normally obtained from thecreateProfile
method.
-
-
Constructor Summary
Constructors Constructor Description Profile(Projection projection, boolean reflect, SkySys viewSystem, boolean grid, SkyAxisLabeller axisLabeller, java.awt.Color gridColor, java.awt.Color axlabelColor, boolean sex, double crowd, Captioner captioner, boolean antialias)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Projection
getProjection()
Returns the sky projection used by this profile.SkySys
getViewSystem()
Returns the sky system into which coordinates are projected.boolean
isReflected()
Indicates whether longitude runs right to left in this profile.
-
-
-
Constructor Detail
-
Profile
public Profile(Projection projection, boolean reflect, SkySys viewSystem, boolean grid, SkyAxisLabeller axisLabeller, java.awt.Color gridColor, java.awt.Color axlabelColor, boolean sex, double crowd, Captioner captioner, boolean antialias)
Constructor.- Parameters:
projection
- sky projectionreflect
- whether to run lon axis right to leftviewSystem
- sky system into which coordinates are projectedgrid
- whether to draw coordinate gridaxisLabeller
- sky axis labelling objectgridColor
- colour of grid linesaxlabelColor
- colour of axis labelssex
- whether to use sexagesimal coordinatescrowd
- tick mark crowding factor, 1 is normalcaptioner
- text rendering objectantialias
- whether to antialias grid lines
-
-
Method Detail
-
getProjection
public Projection getProjection()
Returns the sky projection used by this profile.- Returns:
- projection
-
isReflected
public boolean isReflected()
Indicates whether longitude runs right to left in this profile.- Returns:
- true for longitude right to left, false for left to right
-
getViewSystem
public SkySys getViewSystem()
Returns the sky system into which coordinates are projected.- Returns:
- sky view system
-
-