http://www.jpicedt.org

jpicedt.graphic.model
Class StyleConstants

java.lang.Object
  extended by jpicedt.graphic.model.StyleConstants
All Implemented Interfaces:
PicObjectConstants

public class StyleConstants
extends Object
implements PicObjectConstants

Utility class to get or set attributes in a type-safe manner

Since:
jpicedt 1.3.2
Version:
$Id: StyleConstants.java,v 1.11.2.1 2007/09/02 11:56:27 reynal Exp $
Author:
Sylvain Reynal
See Also:
PicObjectConstants

Field Summary
 
Fields inherited from interface jpicedt.graphic.model.PicObjectConstants
ARROW_GLOBAL_SCALE_LENGTH, ARROW_GLOBAL_SCALE_WIDTH, ARROW_INSET_SCALE, ARROW_LENGTH_SCALE, ARROW_WIDTH_LINEWIDTH_SCALE, ARROW_WIDTH_MINIMUM_MM, BRACKET_LENGTH_SCALE, CROSSHATCH, CROSSHATCH_FILLED, DASH_OPAQUE, DASH_TRANSPARENT, DASH1, DASH2, DASH3, DASHED, DIMEN, DOT_SEP, DOT_SEP1, DOT_SEP2, DOT_SEP3, DOTTED, DOUBLE_COLOR, DOUBLE_LINE, DOUBLE_SEP, FILL_COLOR, FILL_STYLE, HATCH_ANGLE, HATCH_COLOR, HATCH_SEP, HATCH_WIDTH, HLINES, HLINES_FILLED, INNER, LEFT_ARROW, LINE_COLOR, LINE_STYLE, LINE_WIDTH, MIDDLE, NONE, OUTER, OVER_STRIKE, OVER_STRIKE_COLOR, OVER_STRIKE_WIDTH, POLYDOTS_ANGLE, POLYDOTS_CIRCLE, POLYDOTS_DISK, POLYDOTS_PENTAGON, POLYDOTS_PENTAGON_FILLED, POLYDOTS_PLUS, POLYDOTS_SCALE_H, POLYDOTS_SCALE_V, POLYDOTS_SIZE_LINEWIDTH_SCALE, POLYDOTS_SIZE_MINIMUM_MM, POLYDOTS_SQUARE, POLYDOTS_SQUARE_FILLED, POLYDOTS_STYLE, POLYDOTS_SUPERIMPOSE, POLYDOTS_TRIANGLE, POLYDOTS_TRIANGLE_FILLED, PS_POINT, PST_CUSTOM, RBRACKET_LENGTH_SCALE, RIGHT_ARROW, SHADOW, SHADOW_ANGLE, SHADOW_COLOR, SHADOW_SIZE, SOLID, TBAR_WIDTH_LINEWIDTH_SCALE, TBAR_WIDTH_MINIMUM_MM, TEXT_BOX_CIRCLE, TEXT_BOX_NO_FRAME, TEXT_BOX_OVAL, TEXT_BOX_RECTANGLE, TEXT_FRAME, TEXT_HALIGN_CENTER, TEXT_HALIGN_LEFT, TEXT_HALIGN_RIGHT, TEXT_HOR_ALIGN, TEXT_ROTATION, TEXT_VALIGN_BASELINE, TEXT_VALIGN_BOTTOM, TEXT_VALIGN_CENTER, TEXT_VALIGN_TOP, TEXT_VERT_ALIGN, VLINES, VLINES_FILLED
 
Constructor Summary
StyleConstants()
           
 
Method Summary
static double getArrowGlobalScaleLength(PicAttributeSet set)
          Returns the scale-factor for the arrow length
static double getArrowGlobalScaleWidth(PicAttributeSet set)
          Returns the scale-factor for the arrow width
static double getArrowInsetScale(PicAttributeSet set)
          Returns the arrow inset scale-factor (actual inset = ARROW_INSET * actual length)
static double getArrowLengthScale(PicAttributeSet set)
          Returns the arrow length scale-factor (actual length (or height) = actual width * ARROW_LENGTH)
static double getArrowWidthLineWidthScale(PicAttributeSet set)
          Returns the linewidth scale-factor for the arrow width (width = line-width-scale * line-width + minimum_size)
static double getArrowWidthMinimumMm(PicAttributeSet set)
          Returns the relative size for arrows (width = linewidth-scale * line-width + minimum_size)
static double getBracketLengthScale(PicAttributeSet set)
          Returns the bracket length scale-factor (actual length (or height) = actual width * BRACKET_LENGTH)
static double getDashOpaque(PicAttributeSet set)
          Return the opaque dash length , guaranteed to be positive.
static double getDashTransparent(PicAttributeSet set)
          Return the transparent dash length , guaranteed to be positive.
static String getDimen(PicAttributeSet set)
          Return a String (OUTER, MIDDLE or INNER) indicating whether the dimensions of boxes, circles,...
static double getDotSep(PicAttributeSet set)
          Return the dot separation, guaranteed to be positive.
static Color getDoubleLineColor(PicAttributeSet set)
          Return the double-line colour
static double getDoubleLineSep(PicAttributeSet set)
          Return the DoubleLine separation, guaranteed to be positive.
static Color getFillColor(PicAttributeSet set)
          Return the fill colour
static String getFillStyle(PicAttributeSet set)
          Return the fill style
static double getHatchAngle(PicAttributeSet set)
          Return the hatch angle, guaranteed to be b/w -90 and 90.
static Color getHatchColor(PicAttributeSet set)
          Return the hatch colour
static double getHatchSep(PicAttributeSet set)
          Return the distance b/w hatches, guaranteed to be positive
static double getHatchWidth(PicAttributeSet set)
          Return the hatch width, guaranteed to be positive
static Arrow getLeftArrow(PicAttributeSet set)
          Return the left arrow
static Color getLineColor(PicAttributeSet set)
          Return the stroke color
static String getLineStyle(PicAttributeSet set)
          Return the line style
static double getLineWidth(PicAttributeSet set)
          Return the line width, guaranteed to be positive.
static Color getOverStrikeColor(PicAttributeSet set)
          Return the border color
static double getOverStrikeWidth(PicAttributeSet set)
          Return the overstrike width, guaranteed to be positive.
static double getPolydotsAngle(PicAttributeSet set)
          Returns the factor by which dots are to be rotated (in degrees and CCW)
static double getPolydotsHorizontalScale(PicAttributeSet set)
          Returns the factor by which dots are to be scaled horizontally
static double getPolydotsSizeLineWidthScale(PicAttributeSet set)
          Returns the line-width scale for polygon dots (size = linewidth-scale * line-width + minimum_size)
static double getPolydotsSizeMinimumMm(PicAttributeSet set)
          Returns the minimum size of polygon dots (size = linewidth-scale * line-width + minimum_size)
static String getPolydotsStyle(PicAttributeSet set)
          Returns the style of polygon dots
static double getPolydotsVerticalScale(PicAttributeSet set)
          Returns the factor by which dots are to be scaled vertically
static String getPstCustom(PicAttributeSet set)
          Return the pst custom parameters
static Arrow getRightArrow(PicAttributeSet set)
          Return the right arrow
static double getRoundedBracketLengthScale(PicAttributeSet set)
          Returns the rounded-bracket length scale-factor (actual length (or height) = actual width * BRACKET_LENGTH)
static double getShadowAngle(PicAttributeSet set)
          Return the shadow angle, guaranteed to lie b/w -180 and 180
static Color getShadowColor(PicAttributeSet set)
          Return the shadow colour
static double getShadowSize(PicAttributeSet set)
          Return the shadow size , guaranteed to be positive.
static double getTBarWidthLineWidthScale(PicAttributeSet set)
          Returns the linewidth-scale for T-bars (width = linewidth-scale * line-width + relative_width)
static double getTBarWidthMinimumMm(PicAttributeSet set)
          Returns the relative-width for T-bars (width = linewidth-scale * line-width + relative_width)
static boolean isDoubleLine(PicAttributeSet set)
          Return whether double-line is on or off
static boolean isOverStrike(PicAttributeSet set)
          Return whether overstrike is on or off
static boolean isPolydotsSuperimposed(PicAttributeSet set)
          Returns true if dots superimpose on underlying curve
static boolean isShadow(PicAttributeSet set)
          Return whether shadow is on or off
static void setArrowGlobalScaleLength(PicAttributeSet set, double d)
          Sets the scale-factor for the arrow length
static void setArrowGlobalScaleWidth(PicAttributeSet set, double d)
          Sets the scale-factor for the arrow width
static void setArrowInsetScale(PicAttributeSet set, double d)
          Sets the arrow inset scale-factor (actual inset = ARROW_INSET * actual length)
static void setArrowLengthScale(PicAttributeSet set, double d)
          Sets the arrow length scale-factor (actual length (or height) = actual width * ARROW_LENGTH)
static void setArrowWidthLineWidthScale(PicAttributeSet set, double d)
          Sets the the linewidth scale-factor for the arrow width (width = line-width-scale * line-width + minimum_size)
static void setArrowWidthMinimumMm(PicAttributeSet set, double d)
          Sets the relative-size for arrows (width = linewidth-scale * line-width + minimum_size)
static void setBracketLengthScale(PicAttributeSet set, double d)
          Sets the bracket length scale-factor (actual length (or height) = actual width * BRACKET_LENGTH)
static void setDashOpaque(PicAttributeSet set, double d)
          set the opaque dash length
static void setDashTransparent(PicAttributeSet set, double d)
          set the transparent dash length
static void setDimen(PicAttributeSet set, String style)
          set the "dimen" parameter to OUTER, MIDDLE or INNER.
static void setDotSep(PicAttributeSet set, double d)
          set the dot separation
static void setDoubleLine(PicAttributeSet set, boolean b)
          set whether double-line is on or off
static void setDoubleLineColor(PicAttributeSet set, Color c)
          Return the double-line colour
static void setDoubleLineSep(PicAttributeSet set, double d)
          set the DoubleLine separation
static void setFillColor(PicAttributeSet set, Color c)
          set the fill colour
static void setFillStyle(PicAttributeSet set, String style)
          set the fill style to NONE, SOLID, HLINES, ...
static void setHatchAngle(PicAttributeSet set, double d)
          set the hatch angle
static void setHatchColor(PicAttributeSet set, Color c)
          set the hatch colour
static void setHatchSep(PicAttributeSet set, double d)
          set the distance b/w hatches
static void setHatchWidth(PicAttributeSet set, double d)
          set the hatch width
static void setLeftArrow(PicAttributeSet set, Arrow a)
          set the left arrow
static void setLineColor(PicAttributeSet set, Color c)
          set the stroke color
static void setLineStyle(PicAttributeSet set, String style)
          set the line style
static void setLineWidth(PicAttributeSet set, double width)
          set the line width
static void setOverStrike(PicAttributeSet set, boolean b)
          set whether overstrike is on or off
static void setOverStrikeColor(PicAttributeSet set, Color c)
          set the border color
static void setOverStrikeWidth(PicAttributeSet set, double width)
          set the overstrike width
static void setPolydotsAngle(PicAttributeSet set, double d)
          Sets the factor by which dots are to be rotated (in degrees and CCW)
static void setPolydotsHorizontalScale(PicAttributeSet set, double d)
          Sets the factor by which dots are to be scaled horizontally
static void setPolydotsSizeLineWidthScale(PicAttributeSet set, double d)
          Sets the line-width scale for polygon dots (size = linewidth-scale * line-width + minimum_size)
static void setPolydotsSizeMinimumMm(PicAttributeSet set, double d)
          Sets the minimum size of polygon dots (size = linewidth-scale * line-width + minimum_size)
static void setPolydotsStyle(PicAttributeSet set, String s)
          Sets the style of polygon dots
static void setPolydotsSuperimposed(PicAttributeSet set, boolean b)
          Sets whether dots superimpose on underlying curve or not
static void setPolydotsVerticalScale(PicAttributeSet set, double d)
          Sets the factor by which dots are to be scaled vertically
static void setPstCustom(PicAttributeSet set, String s)
          set pst custom parameters
static void setRightArrow(PicAttributeSet set, Arrow a)
          set the right arrow
static void setRoundedBracketLengthScale(PicAttributeSet set, double d)
          Sets the rounded-bracket length scale-factor (actual length (or height) = actual width * BRACKET_LENGTH)
static void setShadow(PicAttributeSet set, boolean b)
          set whether shadow is on or off
static void setShadowAngle(PicAttributeSet set, double d)
          set the shadow angle
static void setShadowColor(PicAttributeSet set, Color c)
          set the shadow colour
static void setShadowSize(PicAttributeSet set, double d)
          set the ShadowSize
static void setTBarWidthLineWidthScale(PicAttributeSet set, double d)
          Sets the linewidth-scale for T-bars (width = linewidth-scale * line-width + relative_width)
static void setTBarWidthMinimumMm(PicAttributeSet set, double d)
          Sets the relative-width for T-bars (width = linewidth-scale * line-width + relative_width)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleConstants

public StyleConstants()
Method Detail

getLineStyle

public static String getLineStyle(PicAttributeSet set)
Return the line style


setLineStyle

public static void setLineStyle(PicAttributeSet set,
                                String style)
set the line style


getLineColor

public static Color getLineColor(PicAttributeSet set)
Return the stroke color


setLineColor

public static void setLineColor(PicAttributeSet set,
                                Color c)
set the stroke color


getLineWidth

public static double getLineWidth(PicAttributeSet set)
Return the line width, guaranteed to be positive.


setLineWidth

public static void setLineWidth(PicAttributeSet set,
                                double width)
set the line width


getDashTransparent

public static double getDashTransparent(PicAttributeSet set)
Return the transparent dash length , guaranteed to be positive.


setDashTransparent

public static void setDashTransparent(PicAttributeSet set,
                                      double d)
set the transparent dash length


getDashOpaque

public static double getDashOpaque(PicAttributeSet set)
Return the opaque dash length , guaranteed to be positive.


setDashOpaque

public static void setDashOpaque(PicAttributeSet set,
                                 double d)
set the opaque dash length


getDotSep

public static double getDotSep(PicAttributeSet set)
Return the dot separation, guaranteed to be positive.


setDotSep

public static void setDotSep(PicAttributeSet set,
                             double d)
set the dot separation


isDoubleLine

public static boolean isDoubleLine(PicAttributeSet set)
Return whether double-line is on or off


setDoubleLine

public static void setDoubleLine(PicAttributeSet set,
                                 boolean b)
set whether double-line is on or off


getDoubleLineSep

public static double getDoubleLineSep(PicAttributeSet set)
Return the DoubleLine separation, guaranteed to be positive.


setDoubleLineSep

public static void setDoubleLineSep(PicAttributeSet set,
                                    double d)
set the DoubleLine separation


getDoubleLineColor

public static Color getDoubleLineColor(PicAttributeSet set)
Return the double-line colour


setDoubleLineColor

public static void setDoubleLineColor(PicAttributeSet set,
                                      Color c)
Return the double-line colour


isOverStrike

public static boolean isOverStrike(PicAttributeSet set)
Return whether overstrike is on or off


setOverStrike

public static void setOverStrike(PicAttributeSet set,
                                 boolean b)
set whether overstrike is on or off


getOverStrikeWidth

public static double getOverStrikeWidth(PicAttributeSet set)
Return the overstrike width, guaranteed to be positive.


setOverStrikeWidth

public static void setOverStrikeWidth(PicAttributeSet set,
                                      double width)
set the overstrike width


getOverStrikeColor

public static Color getOverStrikeColor(PicAttributeSet set)
Return the border color


setOverStrikeColor

public static void setOverStrikeColor(PicAttributeSet set,
                                      Color c)
set the border color


isShadow

public static boolean isShadow(PicAttributeSet set)
Return whether shadow is on or off


setShadow

public static void setShadow(PicAttributeSet set,
                             boolean b)
set whether shadow is on or off


getShadowSize

public static double getShadowSize(PicAttributeSet set)
Return the shadow size , guaranteed to be positive.


setShadowSize

public static void setShadowSize(PicAttributeSet set,
                                 double d)
set the ShadowSize


getShadowAngle

public static double getShadowAngle(PicAttributeSet set)
Return the shadow angle, guaranteed to lie b/w -180 and 180


setShadowAngle

public static void setShadowAngle(PicAttributeSet set,
                                  double d)
set the shadow angle


getShadowColor

public static Color getShadowColor(PicAttributeSet set)
Return the shadow colour


setShadowColor

public static void setShadowColor(PicAttributeSet set,
                                  Color c)
set the shadow colour


getDimen

public static String getDimen(PicAttributeSet set)
Return a String (OUTER, MIDDLE or INNER) indicating whether the dimensions of boxes, circles,... refer to the inside, outside or middle of the boundary.


setDimen

public static void setDimen(PicAttributeSet set,
                            String style)
set the "dimen" parameter to OUTER, MIDDLE or INNER.


getFillStyle

public static String getFillStyle(PicAttributeSet set)
Return the fill style


setFillStyle

public static void setFillStyle(PicAttributeSet set,
                                String style)
set the fill style to NONE, SOLID, HLINES, ...


getFillColor

public static Color getFillColor(PicAttributeSet set)
Return the fill colour


setFillColor

public static void setFillColor(PicAttributeSet set,
                                Color c)
set the fill colour


getHatchWidth

public static double getHatchWidth(PicAttributeSet set)
Return the hatch width, guaranteed to be positive


setHatchWidth

public static void setHatchWidth(PicAttributeSet set,
                                 double d)
set the hatch width


getHatchSep

public static double getHatchSep(PicAttributeSet set)
Return the distance b/w hatches, guaranteed to be positive


setHatchSep

public static void setHatchSep(PicAttributeSet set,
                               double d)
set the distance b/w hatches


getHatchColor

public static Color getHatchColor(PicAttributeSet set)
Return the hatch colour


setHatchColor

public static void setHatchColor(PicAttributeSet set,
                                 Color c)
set the hatch colour


getHatchAngle

public static double getHatchAngle(PicAttributeSet set)
Return the hatch angle, guaranteed to be b/w -90 and 90.


setHatchAngle

public static void setHatchAngle(PicAttributeSet set,
                                 double d)
set the hatch angle


getLeftArrow

public static Arrow getLeftArrow(PicAttributeSet set)
Return the left arrow


setLeftArrow

public static void setLeftArrow(PicAttributeSet set,
                                Arrow a)
set the left arrow


getRightArrow

public static Arrow getRightArrow(PicAttributeSet set)
Return the right arrow


setRightArrow

public static void setRightArrow(PicAttributeSet set,
                                 Arrow a)
set the right arrow


getArrowGlobalScaleWidth

public static double getArrowGlobalScaleWidth(PicAttributeSet set)
Returns the scale-factor for the arrow width


setArrowGlobalScaleWidth

public static void setArrowGlobalScaleWidth(PicAttributeSet set,
                                            double d)
Sets the scale-factor for the arrow width


getArrowGlobalScaleLength

public static double getArrowGlobalScaleLength(PicAttributeSet set)
Returns the scale-factor for the arrow length


setArrowGlobalScaleLength

public static void setArrowGlobalScaleLength(PicAttributeSet set,
                                             double d)
Sets the scale-factor for the arrow length


getArrowWidthLineWidthScale

public static double getArrowWidthLineWidthScale(PicAttributeSet set)
Returns the linewidth scale-factor for the arrow width (width = line-width-scale * line-width + minimum_size)


setArrowWidthLineWidthScale

public static void setArrowWidthLineWidthScale(PicAttributeSet set,
                                               double d)
Sets the the linewidth scale-factor for the arrow width (width = line-width-scale * line-width + minimum_size)


getArrowWidthMinimumMm

public static double getArrowWidthMinimumMm(PicAttributeSet set)
Returns the relative size for arrows (width = linewidth-scale * line-width + minimum_size)


setArrowWidthMinimumMm

public static void setArrowWidthMinimumMm(PicAttributeSet set,
                                          double d)
Sets the relative-size for arrows (width = linewidth-scale * line-width + minimum_size)


getArrowLengthScale

public static double getArrowLengthScale(PicAttributeSet set)
Returns the arrow length scale-factor (actual length (or height) = actual width * ARROW_LENGTH)


setArrowLengthScale

public static void setArrowLengthScale(PicAttributeSet set,
                                       double d)
Sets the arrow length scale-factor (actual length (or height) = actual width * ARROW_LENGTH)


getArrowInsetScale

public static double getArrowInsetScale(PicAttributeSet set)
Returns the arrow inset scale-factor (actual inset = ARROW_INSET * actual length)


setArrowInsetScale

public static void setArrowInsetScale(PicAttributeSet set,
                                      double d)
Sets the arrow inset scale-factor (actual inset = ARROW_INSET * actual length)


getTBarWidthLineWidthScale

public static double getTBarWidthLineWidthScale(PicAttributeSet set)
Returns the linewidth-scale for T-bars (width = linewidth-scale * line-width + relative_width)


setTBarWidthLineWidthScale

public static void setTBarWidthLineWidthScale(PicAttributeSet set,
                                              double d)
Sets the linewidth-scale for T-bars (width = linewidth-scale * line-width + relative_width)


getTBarWidthMinimumMm

public static double getTBarWidthMinimumMm(PicAttributeSet set)
Returns the relative-width for T-bars (width = linewidth-scale * line-width + relative_width)


setTBarWidthMinimumMm

public static void setTBarWidthMinimumMm(PicAttributeSet set,
                                         double d)
Sets the relative-width for T-bars (width = linewidth-scale * line-width + relative_width)


getBracketLengthScale

public static double getBracketLengthScale(PicAttributeSet set)
Returns the bracket length scale-factor (actual length (or height) = actual width * BRACKET_LENGTH)


setBracketLengthScale

public static void setBracketLengthScale(PicAttributeSet set,
                                         double d)
Sets the bracket length scale-factor (actual length (or height) = actual width * BRACKET_LENGTH)


getRoundedBracketLengthScale

public static double getRoundedBracketLengthScale(PicAttributeSet set)
Returns the rounded-bracket length scale-factor (actual length (or height) = actual width * BRACKET_LENGTH)


setRoundedBracketLengthScale

public static void setRoundedBracketLengthScale(PicAttributeSet set,
                                                double d)
Sets the rounded-bracket length scale-factor (actual length (or height) = actual width * BRACKET_LENGTH)


getPstCustom

public static String getPstCustom(PicAttributeSet set)
Return the pst custom parameters


setPstCustom

public static void setPstCustom(PicAttributeSet set,
                                String s)
set pst custom parameters


getPolydotsStyle

public static String getPolydotsStyle(PicAttributeSet set)
Returns the style of polygon dots

Returns:
POLYDOTS_DISK, POLYDOTS_CIRCLE, POLYDOTS_PLUS, POLYDOTS_TRIANGLE, POLYDOTS_TRIANGLE_FILLED, POLYDOTS_SQUARE, POLYDOTS_SQUARE_FILLED, POLYDOTS_PENTAGON, or POLYDOTS_PENTAGON_FILLED.

setPolydotsStyle

public static void setPolydotsStyle(PicAttributeSet set,
                                    String s)
Sets the style of polygon dots


isPolydotsSuperimposed

public static boolean isPolydotsSuperimposed(PicAttributeSet set)
Returns true if dots superimpose on underlying curve


setPolydotsSuperimposed

public static void setPolydotsSuperimposed(PicAttributeSet set,
                                           boolean b)
Sets whether dots superimpose on underlying curve or not


getPolydotsSizeLineWidthScale

public static double getPolydotsSizeLineWidthScale(PicAttributeSet set)
Returns the line-width scale for polygon dots (size = linewidth-scale * line-width + minimum_size)

See Also:
getPolydotsSizeMinimumMm(jpicedt.graphic.model.PicAttributeSet)

setPolydotsSizeLineWidthScale

public static void setPolydotsSizeLineWidthScale(PicAttributeSet set,
                                                 double d)
Sets the line-width scale for polygon dots (size = linewidth-scale * line-width + minimum_size)

See Also:
setPolydotsSizeMinimumMm(jpicedt.graphic.model.PicAttributeSet, double)

getPolydotsSizeMinimumMm

public static double getPolydotsSizeMinimumMm(PicAttributeSet set)
Returns the minimum size of polygon dots (size = linewidth-scale * line-width + minimum_size)

See Also:
getPolydotsSizeMinimumMm(jpicedt.graphic.model.PicAttributeSet)

setPolydotsSizeMinimumMm

public static void setPolydotsSizeMinimumMm(PicAttributeSet set,
                                            double d)
Sets the minimum size of polygon dots (size = linewidth-scale * line-width + minimum_size)

See Also:
setPolydotsSizeLineWidthScale(jpicedt.graphic.model.PicAttributeSet, double)

getPolydotsHorizontalScale

public static double getPolydotsHorizontalScale(PicAttributeSet set)
Returns the factor by which dots are to be scaled horizontally


setPolydotsHorizontalScale

public static void setPolydotsHorizontalScale(PicAttributeSet set,
                                              double d)
Sets the factor by which dots are to be scaled horizontally


getPolydotsVerticalScale

public static double getPolydotsVerticalScale(PicAttributeSet set)
Returns the factor by which dots are to be scaled vertically


setPolydotsVerticalScale

public static void setPolydotsVerticalScale(PicAttributeSet set,
                                            double d)
Sets the factor by which dots are to be scaled vertically


getPolydotsAngle

public static double getPolydotsAngle(PicAttributeSet set)
Returns the factor by which dots are to be rotated (in degrees and CCW)


setPolydotsAngle

public static void setPolydotsAngle(PicAttributeSet set,
                                    double d)
Sets the factor by which dots are to be rotated (in degrees and CCW)


http://www.jpicedt.org

Submit a bug : syd@jpicedt.org