net.sf.latexdraw.glib.views.pst
Class PSTricksConstants

java.lang.Object
  extended by net.sf.latexdraw.glib.views.pst.PSTricksConstants

public abstract class PSTricksConstants
extends java.lang.Object

This class contains several constants of pstricks

This file is part of LaTeXDraw
Copyright (c) 2005-2012 Arnaud BLOUIN

LaTeXDraw is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

LaTeXDraw is distributed without any warranty; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

06/06/06

Version:
2.0.0
Author:
Arnaud BLOUIN

Field Summary
static java.lang.String ASTERISK_STYLE
          The style which draw an asterisk
static java.lang.String BAR_STYLE
          The style which draw a vertical bar
static java.lang.String BAREND_STYLE
           
static java.lang.String BARIN_STYLE
           
static java.lang.String BORDERS_INSIDE
          The dimensions of the figure are with reference to the inner boundary.
static java.lang.String BORDERS_MIDDLE
          The dimensions of the figure are with reference to the middle boundary.
static java.lang.String BORDERS_OUTSIDE
          The dimensions of the figure are with reference to the outter boundary.
static java.lang.String CIRCLEEND_STYLE
           
static java.lang.String CIRCLEIN_STYLE
           
static double CM_VAL_PT
          A point is INCH_VAL_PT/INCH_VAL_CM postscript points
static double DEFAULT_ARC_SEP
           
static double DEFAULT_ARC_SEP_A
          The value of arcsepA by default (in pt)
static double DEFAULT_ARC_SEP_B
          The value of arcsepB by default (in pt)
static double DEFAULT_ARROW_BRACKET_LGTH
          The height of a square bracket
static double DEFAULT_ARROW_DOTSIZE_DIM
          The diameter of a circle in cm
static double DEFAULT_ARROW_DOTSIZE_NUM
          The diameter of a circle
static double DEFAULT_ARROW_INSET
          The inset of the arrowhead by default
static double DEFAULT_ARROW_LENGTH
          The length of the arrowhead by default
static double DEFAULT_ARROW_RBRACKET_LGTH
          The height of a round bracket
static double DEFAULT_ARROW_SCALE1
          The scale of the arrowhead
static double DEFAULT_ARROW_SCALE2
          The scale of the arrowhead
static double DEFAULT_ARROW_SIZE_DIM
          Width of arrowheads, in cm
static double DEFAULT_ARROW_SIZE_NUM
          Width of arrowheads
static double DEFAULT_ARROW_TBARSIZE_DIM
          The width of a t-bar,in cm
static double DEFAULT_ARROW_TBARSIZE_NUM
          The width of a t-bar
static java.lang.String DEFAULT_AXES_STYLE
           
static double DEFAULT_BORDER
          A positive value draws a border of width DEFAULT_BORDER.
static java.awt.Color DEFAULT_BORDER_COLOR
          The colour by default of the border
static java.lang.String DEFAULT_BORDERS_POS
          The position of the borders by default
static boolean DEFAULT_BOX_SEP
          When true, the box that is produced is the size of the frame or whatever that is drawn around the object.
static boolean DEFAULT_CORNER_SIZE_RELATIVE
          Is the corner size relative by default (if not, it's absolute)
If cornersize is relative, then the framearc parameter determines the radius of the rounded corners for \psframe.
static double DEFAULT_CRUVATURE_NUM2
          The curvature parameters control the curvature of a parabola
static double DEFAULT_CRUVATURE_NUM3
          The curvature parameters control the curvature of a parabola
static double DEFAULT_CURVATURE_NUM1
          The curvature parameters control the curvature of a parabola
static double DEFAULT_DASH_BLACK
          The black-white dash pattern for the dashed line style (in cm)
static double DEFAULT_DASH_WHITE
          The black-white dash pattern for the dashed line style (in cm)
static double DEFAULT_DEGREES
          The angle in degrees by default
static double DEFAULT_DIST_X_LABEL
          The distance between each X label in cm (Dx).
static double DEFAULT_DIST_Y_LABEL
          The distance between each Y label in cm (Dy).
static double DEFAULT_DOT_ANGLE
          The angle of the dot by default
static double DEFAULT_DOT_SCALE1
          The scale of the dot by default
static double DEFAULT_DOT_SCALE2
          The scale of the dot by default
static double DEFAULT_DOT_STEP
          The distance between dots in the dotted line style (in cm)
static java.lang.String DEFAULT_DOT_STYLE
          The type of the dot by default
static java.awt.Color DEFAULT_DOUBLE_COLOR
          The colour of the double boundary of the figure by default
static boolean DEFAULT_DOUBLE_LINE
          Is a double line by default
static double DEFAULT_DOUBLE_SEP
          The width of the separation between the double lines
static int DEFAULT_DX
          For psaxes, the dx value by default.
static int DEFAULT_DY
          For psaxes, the dy value by default.
static java.awt.Color DEFAULT_FILL_COLOR
          The colour of the filling
static java.lang.String DEFAULT_FILL_STYLE
          The type of the fill by default
static double DEFAULT_FRAME_ARC
          The radius of rounded corners by default (between 0 and 1)
The radius is compute with :
radius = min(width, height)*1.5*frameArc
static double DEFAULT_FRAME_SEP
          Distance between each side of a frame and the enclosed box (in cm).
static double DEFAULT_GANGLE
          gangle is the angle of rotation of a diamond and a triangle around their centre.
static double DEFAULT_GRADIENT_ANGLE
          The angle of the gradient in degree.
static java.awt.Color DEFAULT_GRADIENT_END_COLOR
          The second color of a gradient by default.
static int DEFAULT_GRADIENT_LINES
          The number of lines.
static double DEFAULT_GRADIENT_MID_POINT
          The position of the midpoint, as a fraction of the distance from top to bottom.
static java.awt.Color DEFAULT_GRADIENT_START_COLOR
          The first colour of a gradient by default.
static double DEFAULT_GRID_LABEL
          The size of the labels of a grid by default
static double DEFAULT_GRID_WIDTH
          The width of the main lines of the grid by default in cm
static java.awt.Color DEFAULT_GRIDCOLOR
          The colour of the grid by default
static int DEFAULT_GRIDDOTS
          The number of dots in a line of the grid by default
static double DEFAULT_HATCH_ANGLE
          The angle of the hatching by default
static double DEFAULT_HATCH_SEP
          The separation between the lines of the hatching in cm
static double DEFAULT_HATCH_WIDTH
          The width of the hatching in cm
static java.awt.Color DEFAULT_HATCHING_COLOR
          The colour of the hatching of the figure by default
static java.awt.Color DEFAULT_INTERIOR_COLOR
          The colour of the interior of the figure by default
static double DEFAULT_LABEL_SEP
          The value by default of labelsep of the command uput (in cm)
static java.awt.Color DEFAULT_LABELGRIDCOLOR
          The colour of the labels by default
static java.lang.String DEFAULT_LABELS_DISPLAYED
           
static double DEFAULT_LINE_ARC
          The radius of arcs drawn at the corner of lines by default (in pt)
static java.awt.Color DEFAULT_LINE_COLOR
          The colour of the borders of the figure by default
static java.lang.String DEFAULT_LINE_STYLE
          The style of the lines by default
static double DEFAULT_LINE_WIDTH
          The width of the line by default (in cm)
static boolean DEFAULT_ON_RADIANS
          Is the unit of length is rad by default
static java.awt.geom.Point2D.Double DEFAULT_ORIGIN
          The origin of the coordinate system by default
static int DEFAULT_OX
          For psaxes, the Ox value by default.
static int DEFAULT_OY
          For psaxes, the Oy value by default.
static int DEFAULT_PLOT_POINTS
           
static boolean DEFAULT_SHADOW
          Is there shadow by default
static double DEFAULT_SHADOW_ANGLE
          The angle of the shadow by default in degrees
static java.awt.Color DEFAULT_SHADOW_COLOR
          The colour of the shadow by default
static double DEFAULT_SHADOW_SIZE
          The size of the shadow by default in cm
static boolean DEFAULT_SHOW_ORIGIN
          For psaxes, the showorigin value by default.
static boolean DEFAULT_SHOW_POINTS
          Is points are displayed by default
static boolean DEFAULT_SPECIAL_COOR
          Is the special coor activated by default
static java.awt.Color DEFAULT_SUB_GRID_COLOR
          The colour of the sub grid by default
static double DEFAULT_SUB_GRID_WIDTH
          The size of the sub-grid lines of a grid by default in cm
static int DEFAULT_SUBGRIDDIV
          The number of division in a sub-grid by default
static int DEFAULT_SUBGRIDDOTS
          The number of dots in a line of the sub-grid by default
static boolean DEFAULT_SWAP_AXES
          Is the axes swept by default
static java.lang.String DEFAULT_TICKS_DISPLAYED
           
static double DEFAULT_TICKS_SIZE
          The default size of the ticks in cm.
static java.lang.String DEFAULT_TICKS_STYLE
           
static double DEFAULT_UNIT
          The unit by default in cm
static double DEFAULT_UPUT_DOWN_ANGLE
           
static double DEFAULT_UPUT_DOWN_LEFT_ANGLE
           
static double DEFAULT_UPUT_DOWN_RIGHT_ANGLE
           
static double DEFAULT_UPUT_LEFT_ANGLE
           
static double DEFAULT_UPUT_RIGHT_ANGLE
           
static double DEFAULT_UPUT_UP_ANGLE
           
static double DEFAULT_UPUT_UP_LEFT_ANGLE
           
static double DEFAULT_UPUT_UP_RIGHT_ANGLE
           
static int DEFAULT_VALUE_MISSING_COORDINATE
          The value by default of a missing coordinate : (5,)
static java.lang.String DIAMOND_STYLE
          The style which draw a diamond
static java.lang.String DISKEND_STYLE
           
static java.lang.String DISKIN_STYLE
           
static java.lang.String DLARROW_STYLE
           
static java.lang.String DOT_STYLE
          The style which draw a dot
static java.lang.String DRARROW_STYLE
           
static java.lang.String FDIAMOND_STYLE
          The style which draw a full diamond
static java.lang.String FPENTAGON_STYLE
          The style which draw a full pentagon
static java.lang.String FSQUARE_STYLE
          The style which draw a full square
static java.lang.String FTRIANGLE_STYLE
          The style which draw a full triangle
static double INCH_VAL_CM
          The size in centimetres of an inch
static double INCH_VAL_PT
          A inch is 72 postscript points
static java.lang.String LARROW_STYLE
           
static java.lang.String LINE_DASHED_STYLE
          The line(s) of the figure are dashed
static java.lang.String LINE_DOTTED_STYLE
          The line(s) of the figure are dotted
static java.lang.String LINE_NONE_STYLE
          The line(s) of the figure have no style
static java.lang.String LINE_SOLID_STYLE
          The line(s) of the figure are solid
static java.lang.String LRBRACKET_STYLE
           
static java.lang.String LSBRACKET_STYLE
           
static java.lang.String O_STYLE
          The style which draw a o
static java.lang.String OPLUS_STYLE
          The style which draw a o and aplus
static java.lang.String OTIMES_STYLE
          The style which draw a o and a cross
static java.lang.String PENTAGON_STYLE
          The style which draw a pentagon
static java.lang.String PLUS_STYLE
          The style which draw a plus
static java.lang.String RARROW_STYLE
           
static java.lang.String ROUNDEND_STYLE
           
static java.lang.String ROUNDIN_STYLE
           
static java.lang.String RRBRACKET_STYLE
           
static java.lang.String RSBRACKET_STYLE
           
static java.lang.String SQUARE_STYLE
          The style which draw a square
static java.lang.String SQUAREEND_STYLE
           
static java.lang.String TOKEN_ABSOLUTE
          The token of the parameters : cornersize = absolute
static java.lang.String TOKEN_AXES_STYLE_AXES
          The text to display when the axes have the axes shape.
static java.lang.String TOKEN_AXES_STYLE_FRAME
          The text to display when the axes have the frame shape.
static java.lang.String TOKEN_AXES_STYLE_NONE
          The text to display when the axes must not be shown.
static java.lang.String TOKEN_CM
          The token of the unit of length : centimeter
static java.lang.String TOKEN_COLOR_TYPE_CMYK
           
static java.lang.String TOKEN_COLOR_TYPE_GRAY
           
static java.lang.String TOKEN_COLOR_TYPE_HSB
           
static java.lang.String TOKEN_COLOR_TYPE_NAMED
           
static java.lang.String TOKEN_COLOR_TYPE_RGB
           
static java.lang.String TOKEN_FILL_CROSSHATCH
          The token of the parameters : fillstyle = crosshatch
static java.lang.String TOKEN_FILL_CROSSHATCH_F
          The token of the parameters : fillstyle = crosshatch*
static java.lang.String TOKEN_FILL_GRADIENT
          The token of the parameters : fillstyle = gradient
static java.lang.String TOKEN_FILL_HLINES
          The token of the parameters : fillstyle = hlines
static java.lang.String TOKEN_FILL_HLINES_F
          The token of the parameters : fillstyle = hlines*
static java.lang.String TOKEN_FILL_NONE
          The token of the parameters : fillstyle = none
static java.lang.String TOKEN_FILL_SOLID
          The token of the parameters : fillstyle = solid
static java.lang.String TOKEN_FILL_VLINES
          The token of the parameters : fillstyle = vlines
static java.lang.String TOKEN_FILL_VLINES_F
          The token of the parameters : fillstyle = vlines*
static java.lang.String TOKEN_INCH
          The token of the unit of length : inch
static java.lang.String TOKEN_LABELS_DISPLAYED_ALL
          The text to display when all the labels must be displayed.
static java.lang.String TOKEN_LABELS_DISPLAYED_NONE
          The text to display when no labels must be displayed.
static java.lang.String TOKEN_LABELS_DISPLAYED_X
          The text to display when only the X labels must be displayed.
static java.lang.String TOKEN_LABELS_DISPLAYED_Y
          The text to display when only the Y labels must be displayed.
static java.lang.String TOKEN_MM
          The token of the unit of length : millimeter
static java.lang.String TOKEN_PS_PT
          The token of the postscript point unit of length
static java.lang.String TOKEN_PUT_ANGLE_0
           
static java.lang.String TOKEN_PUT_ANGLE_0_STAR
           
static java.lang.String TOKEN_PUT_ANGLE_180
           
static java.lang.String TOKEN_PUT_ANGLE_180_STAR
           
static java.lang.String TOKEN_PUT_ANGLE_270
           
static java.lang.String TOKEN_PUT_ANGLE_270_STAR
           
static java.lang.String TOKEN_PUT_ANGLE_90
           
static java.lang.String TOKEN_PUT_ANGLE_90_STAR
           
static java.lang.String TOKEN_RELATIVE
          The token of the parameters : cornersize = relative
static char TOKEN_RPUT_BASE
           
static char TOKEN_RPUT_BOTTOM
           
static char TOKEN_RPUT_LEFT
           
static char TOKEN_RPUT_RIGHT
           
static char TOKEN_RPUT_TOP
           
static java.lang.String TOKEN_TICKS_STYLE_BOTTOM
          The token when the ticks only the bottom of them must be shown.
static java.lang.String TOKEN_TICKS_STYLE_FULL
          The token when the ticks must be fully shown.
static java.lang.String TOKEN_TICKS_STYLE_TOP
          The token when the ticks only the top of them must be shown.
static char TOKEN_UPUT_DOWN
           
static char TOKEN_UPUT_LEFT
           
static char TOKEN_UPUT_RIGHT
           
static char TOKEN_UPUT_UP
           
static java.lang.String TRIANGLE_STYLE
          The style which draw a triangle
static java.lang.String X_STYLE
          The style which draw a cross
 
Constructor Summary
private PSTricksConstants()
           
 
Method Summary
static boolean isValidDotStyle(java.lang.String newStyle)
          Allows to know if the new style is valid
static boolean isValidFillStyle(java.lang.String style)
          Allows to know if the kind of filling is valid or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INCH_VAL_CM

public static final double INCH_VAL_CM
The size in centimetres of an inch

See Also:
Constant Field Values

INCH_VAL_PT

public static final double INCH_VAL_PT
A inch is 72 postscript points

See Also:
Constant Field Values

CM_VAL_PT

public static final double CM_VAL_PT
A point is INCH_VAL_PT/INCH_VAL_CM postscript points

See Also:
Constant Field Values

DEFAULT_OX

public static final int DEFAULT_OX
For psaxes, the Ox value by default.

See Also:
Constant Field Values

DEFAULT_OY

public static final int DEFAULT_OY
For psaxes, the Oy value by default.

See Also:
Constant Field Values

DEFAULT_DX

public static final int DEFAULT_DX
For psaxes, the dx value by default.

See Also:
Constant Field Values

DEFAULT_DY

public static final int DEFAULT_DY
For psaxes, the dy value by default.

See Also:
Constant Field Values

DEFAULT_DIST_X_LABEL

public static final double DEFAULT_DIST_X_LABEL
The distance between each X label in cm (Dx).

See Also:
Constant Field Values

DEFAULT_DIST_Y_LABEL

public static final double DEFAULT_DIST_Y_LABEL
The distance between each Y label in cm (Dy).

See Also:
Constant Field Values

DEFAULT_SHOW_ORIGIN

public static final boolean DEFAULT_SHOW_ORIGIN
For psaxes, the showorigin value by default.

See Also:
Constant Field Values

DEFAULT_TICKS_SIZE

public static final double DEFAULT_TICKS_SIZE
The default size of the ticks in cm.

See Also:
Constant Field Values

TOKEN_LABELS_DISPLAYED_ALL

public static final java.lang.String TOKEN_LABELS_DISPLAYED_ALL
The text to display when all the labels must be displayed.

See Also:
Constant Field Values

TOKEN_LABELS_DISPLAYED_X

public static final java.lang.String TOKEN_LABELS_DISPLAYED_X
The text to display when only the X labels must be displayed.

See Also:
Constant Field Values

TOKEN_LABELS_DISPLAYED_Y

public static final java.lang.String TOKEN_LABELS_DISPLAYED_Y
The text to display when only the Y labels must be displayed.

See Also:
Constant Field Values

TOKEN_LABELS_DISPLAYED_NONE

public static final java.lang.String TOKEN_LABELS_DISPLAYED_NONE
The text to display when no labels must be displayed.

See Also:
Constant Field Values

TOKEN_TICKS_STYLE_FULL

public static final java.lang.String TOKEN_TICKS_STYLE_FULL
The token when the ticks must be fully shown.

See Also:
Constant Field Values

TOKEN_TICKS_STYLE_TOP

public static final java.lang.String TOKEN_TICKS_STYLE_TOP
The token when the ticks only the top of them must be shown.

See Also:
Constant Field Values

TOKEN_TICKS_STYLE_BOTTOM

public static final java.lang.String TOKEN_TICKS_STYLE_BOTTOM
The token when the ticks only the bottom of them must be shown.

See Also:
Constant Field Values

TOKEN_AXES_STYLE_AXES

public static final java.lang.String TOKEN_AXES_STYLE_AXES
The text to display when the axes have the axes shape.

See Also:
Constant Field Values

TOKEN_AXES_STYLE_FRAME

public static final java.lang.String TOKEN_AXES_STYLE_FRAME
The text to display when the axes have the frame shape.

See Also:
Constant Field Values

TOKEN_AXES_STYLE_NONE

public static final java.lang.String TOKEN_AXES_STYLE_NONE
The text to display when the axes must not be shown.

See Also:
Constant Field Values

DEFAULT_AXES_STYLE

public static final java.lang.String DEFAULT_AXES_STYLE
See Also:
Constant Field Values

DEFAULT_TICKS_STYLE

public static final java.lang.String DEFAULT_TICKS_STYLE
See Also:
Constant Field Values

DEFAULT_LABELS_DISPLAYED

public static final java.lang.String DEFAULT_LABELS_DISPLAYED
See Also:
Constant Field Values

DEFAULT_TICKS_DISPLAYED

public static final java.lang.String DEFAULT_TICKS_DISPLAYED
See Also:
Constant Field Values

DEFAULT_GRADIENT_START_COLOR

public static final java.awt.Color DEFAULT_GRADIENT_START_COLOR
The first colour of a gradient by default.


DEFAULT_GRADIENT_END_COLOR

public static final java.awt.Color DEFAULT_GRADIENT_END_COLOR
The second color of a gradient by default.


DEFAULT_GRADIENT_MID_POINT

public static final double DEFAULT_GRADIENT_MID_POINT
The position of the midpoint, as a fraction of the distance from top to bottom. Should be between 0 and 1.

See Also:
Constant Field Values

DEFAULT_GRADIENT_LINES

public static final int DEFAULT_GRADIENT_LINES
The number of lines. More lines means finer gradation.

See Also:
Constant Field Values

DEFAULT_GRADIENT_ANGLE

public static final double DEFAULT_GRADIENT_ANGLE
The angle of the gradient in degree.

See Also:
Constant Field Values

DEFAULT_VALUE_MISSING_COORDINATE

public static final int DEFAULT_VALUE_MISSING_COORDINATE
The value by default of a missing coordinate : (5,)

See Also:
Constant Field Values

TOKEN_PUT_ANGLE_0

public static final java.lang.String TOKEN_PUT_ANGLE_0
See Also:
Constant Field Values

TOKEN_PUT_ANGLE_90

public static final java.lang.String TOKEN_PUT_ANGLE_90
See Also:
Constant Field Values

TOKEN_PUT_ANGLE_180

public static final java.lang.String TOKEN_PUT_ANGLE_180
See Also:
Constant Field Values

TOKEN_PUT_ANGLE_270

public static final java.lang.String TOKEN_PUT_ANGLE_270
See Also:
Constant Field Values

TOKEN_PUT_ANGLE_0_STAR

public static final java.lang.String TOKEN_PUT_ANGLE_0_STAR
See Also:
Constant Field Values

TOKEN_PUT_ANGLE_90_STAR

public static final java.lang.String TOKEN_PUT_ANGLE_90_STAR
See Also:
Constant Field Values

TOKEN_PUT_ANGLE_180_STAR

public static final java.lang.String TOKEN_PUT_ANGLE_180_STAR
See Also:
Constant Field Values

TOKEN_PUT_ANGLE_270_STAR

public static final java.lang.String TOKEN_PUT_ANGLE_270_STAR
See Also:
Constant Field Values

TOKEN_RPUT_TOP

public static final char TOKEN_RPUT_TOP
See Also:
Constant Field Values

TOKEN_RPUT_BOTTOM

public static final char TOKEN_RPUT_BOTTOM
See Also:
Constant Field Values

TOKEN_RPUT_BASE

public static final char TOKEN_RPUT_BASE
See Also:
Constant Field Values

TOKEN_RPUT_LEFT

public static final char TOKEN_RPUT_LEFT
See Also:
Constant Field Values

TOKEN_RPUT_RIGHT

public static final char TOKEN_RPUT_RIGHT
See Also:
Constant Field Values

TOKEN_UPUT_DOWN

public static final char TOKEN_UPUT_DOWN
See Also:
Constant Field Values

TOKEN_UPUT_UP

public static final char TOKEN_UPUT_UP
See Also:
Constant Field Values

TOKEN_UPUT_RIGHT

public static final char TOKEN_UPUT_RIGHT
See Also:
Constant Field Values

TOKEN_UPUT_LEFT

public static final char TOKEN_UPUT_LEFT
See Also:
Constant Field Values

DEFAULT_UPUT_DOWN_ANGLE

public static final double DEFAULT_UPUT_DOWN_ANGLE
See Also:
Constant Field Values

DEFAULT_UPUT_UP_ANGLE

public static final double DEFAULT_UPUT_UP_ANGLE
See Also:
Constant Field Values

DEFAULT_UPUT_RIGHT_ANGLE

public static final double DEFAULT_UPUT_RIGHT_ANGLE
See Also:
Constant Field Values

DEFAULT_UPUT_LEFT_ANGLE

public static final double DEFAULT_UPUT_LEFT_ANGLE
See Also:
Constant Field Values

DEFAULT_UPUT_DOWN_LEFT_ANGLE

public static final double DEFAULT_UPUT_DOWN_LEFT_ANGLE
See Also:
Constant Field Values

DEFAULT_UPUT_UP_LEFT_ANGLE

public static final double DEFAULT_UPUT_UP_LEFT_ANGLE
See Also:
Constant Field Values

DEFAULT_UPUT_DOWN_RIGHT_ANGLE

public static final double DEFAULT_UPUT_DOWN_RIGHT_ANGLE
See Also:
Constant Field Values

DEFAULT_UPUT_UP_RIGHT_ANGLE

public static final double DEFAULT_UPUT_UP_RIGHT_ANGLE
See Also:
Constant Field Values

DEFAULT_GANGLE

public static final double DEFAULT_GANGLE
gangle is the angle of rotation of a diamond and a triangle around their centre.

See Also:
Constant Field Values

TOKEN_COLOR_TYPE_NAMED

public static final java.lang.String TOKEN_COLOR_TYPE_NAMED
See Also:
Constant Field Values

TOKEN_COLOR_TYPE_CMYK

public static final java.lang.String TOKEN_COLOR_TYPE_CMYK
See Also:
Constant Field Values

TOKEN_COLOR_TYPE_HSB

public static final java.lang.String TOKEN_COLOR_TYPE_HSB
See Also:
Constant Field Values

TOKEN_COLOR_TYPE_GRAY

public static final java.lang.String TOKEN_COLOR_TYPE_GRAY
See Also:
Constant Field Values

TOKEN_COLOR_TYPE_RGB

public static final java.lang.String TOKEN_COLOR_TYPE_RGB
See Also:
Constant Field Values

TOKEN_FILL_NONE

public static final java.lang.String TOKEN_FILL_NONE
The token of the parameters : fillstyle = none

See Also:
Constant Field Values

TOKEN_FILL_GRADIENT

public static final java.lang.String TOKEN_FILL_GRADIENT
The token of the parameters : fillstyle = gradient

See Also:
Constant Field Values

TOKEN_FILL_SOLID

public static final java.lang.String TOKEN_FILL_SOLID
The token of the parameters : fillstyle = solid

See Also:
Constant Field Values

TOKEN_FILL_VLINES

public static final java.lang.String TOKEN_FILL_VLINES
The token of the parameters : fillstyle = vlines

See Also:
Constant Field Values

TOKEN_FILL_VLINES_F

public static final java.lang.String TOKEN_FILL_VLINES_F
The token of the parameters : fillstyle = vlines*

See Also:
Constant Field Values

TOKEN_FILL_HLINES

public static final java.lang.String TOKEN_FILL_HLINES
The token of the parameters : fillstyle = hlines

See Also:
Constant Field Values

TOKEN_FILL_HLINES_F

public static final java.lang.String TOKEN_FILL_HLINES_F
The token of the parameters : fillstyle = hlines*

See Also:
Constant Field Values

TOKEN_FILL_CROSSHATCH

public static final java.lang.String TOKEN_FILL_CROSSHATCH
The token of the parameters : fillstyle = crosshatch

See Also:
Constant Field Values

TOKEN_FILL_CROSSHATCH_F

public static final java.lang.String TOKEN_FILL_CROSSHATCH_F
The token of the parameters : fillstyle = crosshatch*

See Also:
Constant Field Values

TOKEN_RELATIVE

public static final java.lang.String TOKEN_RELATIVE
The token of the parameters : cornersize = relative

See Also:
Constant Field Values

TOKEN_ABSOLUTE

public static final java.lang.String TOKEN_ABSOLUTE
The token of the parameters : cornersize = absolute

See Also:
Constant Field Values

TOKEN_PS_PT

public static final java.lang.String TOKEN_PS_PT
The token of the postscript point unit of length

See Also:
Constant Field Values

TOKEN_CM

public static final java.lang.String TOKEN_CM
The token of the unit of length : centimeter

See Also:
Constant Field Values

TOKEN_MM

public static final java.lang.String TOKEN_MM
The token of the unit of length : millimeter

See Also:
Constant Field Values

TOKEN_INCH

public static final java.lang.String TOKEN_INCH
The token of the unit of length : inch

See Also:
Constant Field Values

OPLUS_STYLE

public static final java.lang.String OPLUS_STYLE
The style which draw a o and aplus

See Also:
Constant Field Values

OTIMES_STYLE

public static final java.lang.String OTIMES_STYLE
The style which draw a o and a cross

See Also:
Constant Field Values

PLUS_STYLE

public static final java.lang.String PLUS_STYLE
The style which draw a plus

See Also:
Constant Field Values

ASTERISK_STYLE

public static final java.lang.String ASTERISK_STYLE
The style which draw an asterisk

See Also:
Constant Field Values

TRIANGLE_STYLE

public static final java.lang.String TRIANGLE_STYLE
The style which draw a triangle

See Also:
Constant Field Values

SQUARE_STYLE

public static final java.lang.String SQUARE_STYLE
The style which draw a square

See Also:
Constant Field Values

DIAMOND_STYLE

public static final java.lang.String DIAMOND_STYLE
The style which draw a diamond

See Also:
Constant Field Values

PENTAGON_STYLE

public static final java.lang.String PENTAGON_STYLE
The style which draw a pentagon

See Also:
Constant Field Values

O_STYLE

public static final java.lang.String O_STYLE
The style which draw a o

See Also:
Constant Field Values

DOT_STYLE

public static final java.lang.String DOT_STYLE
The style which draw a dot

See Also:
Constant Field Values

X_STYLE

public static final java.lang.String X_STYLE
The style which draw a cross

See Also:
Constant Field Values

BAR_STYLE

public static final java.lang.String BAR_STYLE
The style which draw a vertical bar

See Also:
Constant Field Values

FTRIANGLE_STYLE

public static final java.lang.String FTRIANGLE_STYLE
The style which draw a full triangle

See Also:
Constant Field Values

FSQUARE_STYLE

public static final java.lang.String FSQUARE_STYLE
The style which draw a full square

See Also:
Constant Field Values

FDIAMOND_STYLE

public static final java.lang.String FDIAMOND_STYLE
The style which draw a full diamond

See Also:
Constant Field Values

FPENTAGON_STYLE

public static final java.lang.String FPENTAGON_STYLE
The style which draw a full pentagon

See Also:
Constant Field Values

DEFAULT_SPECIAL_COOR

public static final boolean DEFAULT_SPECIAL_COOR
Is the special coor activated by default

See Also:
Constant Field Values

DEFAULT_ON_RADIANS

public static final boolean DEFAULT_ON_RADIANS
Is the unit of length is rad by default

See Also:
Constant Field Values

DEFAULT_DEGREES

public static final double DEFAULT_DEGREES
The angle in degrees by default

See Also:
Constant Field Values

DEFAULT_LINE_WIDTH

public static final double DEFAULT_LINE_WIDTH
The width of the line by default (in cm)

See Also:
Constant Field Values

DEFAULT_SHOW_POINTS

public static final boolean DEFAULT_SHOW_POINTS
Is points are displayed by default

See Also:
Constant Field Values

DEFAULT_LINE_ARC

public static final double DEFAULT_LINE_ARC
The radius of arcs drawn at the corner of lines by default (in pt)

See Also:
Constant Field Values

DEFAULT_FRAME_ARC

public static final double DEFAULT_FRAME_ARC
The radius of rounded corners by default (between 0 and 1)
The radius is compute with :
radius = min(width, height)*1.5*frameArc

See Also:
Constant Field Values

DEFAULT_CORNER_SIZE_RELATIVE

public static final boolean DEFAULT_CORNER_SIZE_RELATIVE
Is the corner size relative by default (if not, it's absolute)
If cornersize is relative, then the framearc parameter determines the radius of the rounded corners for \psframe. If cornersize is absolute, then the linearc parameter determines the radius of the rounded corners for \psframe.

See Also:
Constant Field Values

DEFAULT_ARC_SEP_A

public static final double DEFAULT_ARC_SEP_A
The value of arcsepA by default (in pt)

See Also:
Constant Field Values

DEFAULT_ARC_SEP_B

public static final double DEFAULT_ARC_SEP_B
The value of arcsepB by default (in pt)

See Also:
Constant Field Values

DEFAULT_ARC_SEP

public static final double DEFAULT_ARC_SEP
See Also:
Constant Field Values

DEFAULT_CURVATURE_NUM1

public static final double DEFAULT_CURVATURE_NUM1
The curvature parameters control the curvature of a parabola

See Also:
Constant Field Values

DEFAULT_CRUVATURE_NUM2

public static final double DEFAULT_CRUVATURE_NUM2
The curvature parameters control the curvature of a parabola

See Also:
Constant Field Values

DEFAULT_CRUVATURE_NUM3

public static final double DEFAULT_CRUVATURE_NUM3
The curvature parameters control the curvature of a parabola

See Also:
Constant Field Values

DEFAULT_DOT_STYLE

public static final java.lang.String DEFAULT_DOT_STYLE
The type of the dot by default

See Also:
Constant Field Values

DEFAULT_DOT_SCALE1

public static final double DEFAULT_DOT_SCALE1
The scale of the dot by default

See Also:
Constant Field Values

DEFAULT_DOT_SCALE2

public static final double DEFAULT_DOT_SCALE2
The scale of the dot by default

See Also:
Constant Field Values

DEFAULT_DOT_ANGLE

public static final double DEFAULT_DOT_ANGLE
The angle of the dot by default

See Also:
Constant Field Values

DEFAULT_GRID_WIDTH

public static final double DEFAULT_GRID_WIDTH
The width of the main lines of the grid by default in cm

See Also:
Constant Field Values

DEFAULT_GRID_LABEL

public static final double DEFAULT_GRID_LABEL
The size of the labels of a grid by default

See Also:
Constant Field Values

DEFAULT_SUB_GRID_WIDTH

public static final double DEFAULT_SUB_GRID_WIDTH
The size of the sub-grid lines of a grid by default in cm

See Also:
Constant Field Values

DEFAULT_SUB_GRID_COLOR

public static final java.awt.Color DEFAULT_SUB_GRID_COLOR
The colour of the sub grid by default


BORDERS_INSIDE

public static final java.lang.String BORDERS_INSIDE
The dimensions of the figure are with reference to the inner boundary.

See Also:
Constant Field Values

BORDERS_OUTSIDE

public static final java.lang.String BORDERS_OUTSIDE
The dimensions of the figure are with reference to the outter boundary.

See Also:
Constant Field Values

BORDERS_MIDDLE

public static final java.lang.String BORDERS_MIDDLE
The dimensions of the figure are with reference to the middle boundary.

See Also:
Constant Field Values

DEFAULT_BORDERS_POS

public static final java.lang.String DEFAULT_BORDERS_POS
The position of the borders by default

See Also:
Constant Field Values

DEFAULT_DOUBLE_COLOR

public static final java.awt.Color DEFAULT_DOUBLE_COLOR
The colour of the double boundary of the figure by default


DEFAULT_HATCHING_COLOR

public static final java.awt.Color DEFAULT_HATCHING_COLOR
The colour of the hatching of the figure by default


DEFAULT_INTERIOR_COLOR

public static final java.awt.Color DEFAULT_INTERIOR_COLOR
The colour of the interior of the figure by default


DEFAULT_LINE_COLOR

public static final java.awt.Color DEFAULT_LINE_COLOR
The colour of the borders of the figure by default


DEFAULT_LABELGRIDCOLOR

public static final java.awt.Color DEFAULT_LABELGRIDCOLOR
The colour of the labels by default


DEFAULT_GRIDCOLOR

public static final java.awt.Color DEFAULT_GRIDCOLOR
The colour of the grid by default


DEFAULT_SUBGRIDDIV

public static final int DEFAULT_SUBGRIDDIV
The number of division in a sub-grid by default

See Also:
Constant Field Values

DEFAULT_GRIDDOTS

public static final int DEFAULT_GRIDDOTS
The number of dots in a line of the grid by default

See Also:
Constant Field Values

DEFAULT_SUBGRIDDOTS

public static final int DEFAULT_SUBGRIDDOTS
The number of dots in a line of the sub-grid by default

See Also:
Constant Field Values

DEFAULT_UNIT

public static final double DEFAULT_UNIT
The unit by default in cm

See Also:
Constant Field Values

DEFAULT_PLOT_POINTS

public static final int DEFAULT_PLOT_POINTS
See Also:
Constant Field Values

DEFAULT_ORIGIN

public static final java.awt.geom.Point2D.Double DEFAULT_ORIGIN
The origin of the coordinate system by default


DEFAULT_SWAP_AXES

public static final boolean DEFAULT_SWAP_AXES
Is the axes swept by default

See Also:
Constant Field Values

LINE_DOTTED_STYLE

public static final java.lang.String LINE_DOTTED_STYLE
The line(s) of the figure are dotted

See Also:
Constant Field Values

LINE_DASHED_STYLE

public static final java.lang.String LINE_DASHED_STYLE
The line(s) of the figure are dashed

See Also:
Constant Field Values

LINE_NONE_STYLE

public static final java.lang.String LINE_NONE_STYLE
The line(s) of the figure have no style

See Also:
Constant Field Values

LINE_SOLID_STYLE

public static final java.lang.String LINE_SOLID_STYLE
The line(s) of the figure are solid

See Also:
Constant Field Values

DEFAULT_LINE_STYLE

public static final java.lang.String DEFAULT_LINE_STYLE
The style of the lines by default

See Also:
Constant Field Values

DEFAULT_DASH_BLACK

public static final double DEFAULT_DASH_BLACK
The black-white dash pattern for the dashed line style (in cm)

See Also:
Constant Field Values

DEFAULT_DASH_WHITE

public static final double DEFAULT_DASH_WHITE
The black-white dash pattern for the dashed line style (in cm)

See Also:
Constant Field Values

DEFAULT_DOT_STEP

public static final double DEFAULT_DOT_STEP
The distance between dots in the dotted line style (in cm)

See Also:
Constant Field Values

DEFAULT_BORDER

public static final double DEFAULT_BORDER
A positive value draws a border of width DEFAULT_BORDER.

See Also:
Constant Field Values

DEFAULT_BORDER_COLOR

public static final java.awt.Color DEFAULT_BORDER_COLOR
The colour by default of the border


DEFAULT_DOUBLE_LINE

public static final boolean DEFAULT_DOUBLE_LINE
Is a double line by default

See Also:
Constant Field Values

DEFAULT_DOUBLE_SEP

public static final double DEFAULT_DOUBLE_SEP
The width of the separation between the double lines

See Also:
Constant Field Values

DEFAULT_SHADOW

public static final boolean DEFAULT_SHADOW
Is there shadow by default

See Also:
Constant Field Values

DEFAULT_SHADOW_SIZE

public static final double DEFAULT_SHADOW_SIZE
The size of the shadow by default in cm

See Also:
Constant Field Values

DEFAULT_SHADOW_ANGLE

public static final double DEFAULT_SHADOW_ANGLE
The angle of the shadow by default in degrees

See Also:
Constant Field Values

DEFAULT_SHADOW_COLOR

public static final java.awt.Color DEFAULT_SHADOW_COLOR
The colour of the shadow by default


DEFAULT_FILL_STYLE

public static final java.lang.String DEFAULT_FILL_STYLE
The type of the fill by default

See Also:
Constant Field Values

DEFAULT_FILL_COLOR

public static final java.awt.Color DEFAULT_FILL_COLOR
The colour of the filling


DEFAULT_HATCH_WIDTH

public static final double DEFAULT_HATCH_WIDTH
The width of the hatching in cm

See Also:
Constant Field Values

DEFAULT_HATCH_SEP

public static final double DEFAULT_HATCH_SEP
The separation between the lines of the hatching in cm

See Also:
Constant Field Values

DEFAULT_HATCH_ANGLE

public static final double DEFAULT_HATCH_ANGLE
The angle of the hatching by default

See Also:
Constant Field Values

LARROW_STYLE

public static final java.lang.String LARROW_STYLE
See Also:
Constant Field Values

RARROW_STYLE

public static final java.lang.String RARROW_STYLE
See Also:
Constant Field Values

DLARROW_STYLE

public static final java.lang.String DLARROW_STYLE
See Also:
Constant Field Values

DRARROW_STYLE

public static final java.lang.String DRARROW_STYLE
See Also:
Constant Field Values

BAREND_STYLE

public static final java.lang.String BAREND_STYLE
See Also:
Constant Field Values

BARIN_STYLE

public static final java.lang.String BARIN_STYLE
See Also:
Constant Field Values

LSBRACKET_STYLE

public static final java.lang.String LSBRACKET_STYLE
See Also:
Constant Field Values

RSBRACKET_STYLE

public static final java.lang.String RSBRACKET_STYLE
See Also:
Constant Field Values

LRBRACKET_STYLE

public static final java.lang.String LRBRACKET_STYLE
See Also:
Constant Field Values

RRBRACKET_STYLE

public static final java.lang.String RRBRACKET_STYLE
See Also:
Constant Field Values

CIRCLEEND_STYLE

public static final java.lang.String CIRCLEEND_STYLE
See Also:
Constant Field Values

CIRCLEIN_STYLE

public static final java.lang.String CIRCLEIN_STYLE
See Also:
Constant Field Values

DISKEND_STYLE

public static final java.lang.String DISKEND_STYLE
See Also:
Constant Field Values

DISKIN_STYLE

public static final java.lang.String DISKIN_STYLE
See Also:
Constant Field Values

ROUNDEND_STYLE

public static final java.lang.String ROUNDEND_STYLE
See Also:
Constant Field Values

ROUNDIN_STYLE

public static final java.lang.String ROUNDIN_STYLE
See Also:
Constant Field Values

SQUAREEND_STYLE

public static final java.lang.String SQUAREEND_STYLE
See Also:
Constant Field Values

DEFAULT_ARROW_SIZE_DIM

public static final double DEFAULT_ARROW_SIZE_DIM
Width of arrowheads, in cm

See Also:
Constant Field Values

DEFAULT_ARROW_SIZE_NUM

public static final double DEFAULT_ARROW_SIZE_NUM
Width of arrowheads

See Also:
Constant Field Values

DEFAULT_ARROW_LENGTH

public static final double DEFAULT_ARROW_LENGTH
The length of the arrowhead by default

See Also:
Constant Field Values

DEFAULT_ARROW_INSET

public static final double DEFAULT_ARROW_INSET
The inset of the arrowhead by default

See Also:
Constant Field Values

DEFAULT_ARROW_TBARSIZE_DIM

public static final double DEFAULT_ARROW_TBARSIZE_DIM
The width of a t-bar,in cm

See Also:
Constant Field Values

DEFAULT_ARROW_TBARSIZE_NUM

public static final double DEFAULT_ARROW_TBARSIZE_NUM
The width of a t-bar

See Also:
Constant Field Values

DEFAULT_ARROW_BRACKET_LGTH

public static final double DEFAULT_ARROW_BRACKET_LGTH
The height of a square bracket

See Also:
Constant Field Values

DEFAULT_ARROW_RBRACKET_LGTH

public static final double DEFAULT_ARROW_RBRACKET_LGTH
The height of a round bracket

See Also:
Constant Field Values

DEFAULT_ARROW_DOTSIZE_DIM

public static final double DEFAULT_ARROW_DOTSIZE_DIM
The diameter of a circle in cm

See Also:
Constant Field Values

DEFAULT_ARROW_DOTSIZE_NUM

public static final double DEFAULT_ARROW_DOTSIZE_NUM
The diameter of a circle

See Also:
Constant Field Values

DEFAULT_ARROW_SCALE1

public static final double DEFAULT_ARROW_SCALE1
The scale of the arrowhead

See Also:
Constant Field Values

DEFAULT_ARROW_SCALE2

public static final double DEFAULT_ARROW_SCALE2
The scale of the arrowhead

See Also:
Constant Field Values

DEFAULT_LABEL_SEP

public static final double DEFAULT_LABEL_SEP
The value by default of labelsep of the command uput (in cm)

See Also:
Constant Field Values

DEFAULT_FRAME_SEP

public static final double DEFAULT_FRAME_SEP
Distance between each side of a frame and the enclosed box (in cm).

See Also:
Constant Field Values

DEFAULT_BOX_SEP

public static final boolean DEFAULT_BOX_SEP
When true, the box that is produced is the size of the frame or whatever that is drawn around the object.

See Also:
Constant Field Values
Constructor Detail

PSTricksConstants

private PSTricksConstants()
Method Detail

isValidDotStyle

public static boolean isValidDotStyle(java.lang.String newStyle)
Allows to know if the new style is valid

Parameters:
newStyle - The style which must be checked
Returns:
True if the style is valid

isValidFillStyle

public static boolean isValidFillStyle(java.lang.String style)
Allows to know if the kind of filling is valid or not.

Parameters:
style - The style to check.
Returns:
True is the style is valid.