Package jpicedt.graphic.model
Class StyleConstants
- java.lang.Object
-
- jpicedt.graphic.model.StyleConstants
-
- All Implemented Interfaces:
PicObjectConstants
public class StyleConstants extends java.lang.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
Constructors Constructor Description StyleConstants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doublegetArrowGlobalScaleLength(PicAttributeSet set)Returns the scale-factor for the arrow lengthstatic doublegetArrowGlobalScaleWidth(PicAttributeSet set)Returns the scale-factor for the arrow widthstatic doublegetArrowInsetScale(PicAttributeSet set)Returns the arrow inset scale-factor (actual inset = ARROW_INSET * actual length)static doublegetArrowLengthScale(PicAttributeSet set)Returns the arrow length scale-factor (actual length (or height) = actual width * ARROW_LENGTH)static doublegetArrowWidthLineWidthScale(PicAttributeSet set)Returns the linewidth scale-factor for the arrow width (width = line-width-scale * line-width + minimum_size)static doublegetArrowWidthMinimumMm(PicAttributeSet set)Returns the relative size for arrows (width = linewidth-scale * line-width + minimum_size)static doublegetBracketLengthScale(PicAttributeSet set)Returns the bracket length scale-factor (actual length (or height) = actual width * BRACKET_LENGTH)static doublegetDashOpaque(PicAttributeSet set)Return the opaque dash length , guaranteed to be positive.static doublegetDashTransparent(PicAttributeSet set)Return the transparent dash length , guaranteed to be positive.static java.lang.StringgetDimen(PicAttributeSet set)Return a String (OUTER, MIDDLE or INNER) indicating whether the dimensions of boxes, circles,...static doublegetDotSep(PicAttributeSet set)Return the dot separation, guaranteed to be positive.static java.awt.ColorgetDoubleLineColor(PicAttributeSet set)Return the double-line colourstatic doublegetDoubleLineSep(PicAttributeSet set)Return the DoubleLine separation, guaranteed to be positive.static java.awt.ColorgetFillColor(PicAttributeSet set)Return the fill colourstatic java.lang.StringgetFillStyle(PicAttributeSet set)Return the fill stylestatic doublegetHatchAngle(PicAttributeSet set)Return the hatch angle, guaranteed to be b/w -90 and 90.static java.awt.ColorgetHatchColor(PicAttributeSet set)Return the hatch colourstatic doublegetHatchSep(PicAttributeSet set)Return the distance b/w hatches, guaranteed to be positivestatic doublegetHatchWidth(PicAttributeSet set)Return the hatch width, guaranteed to be positivestatic ArrowgetLeftArrow(PicAttributeSet set)Return the left arrowstatic java.awt.ColorgetLineColor(PicAttributeSet set)Return the stroke colorstatic java.lang.StringgetLineStyle(PicAttributeSet set)Return the line stylestatic doublegetLineWidth(PicAttributeSet set)Return the line width, guaranteed to be positive.static java.awt.ColorgetOverStrikeColor(PicAttributeSet set)Return the border colorstatic doublegetOverStrikeWidth(PicAttributeSet set)Return the overstrike width, guaranteed to be positive.static doublegetPolydotsAngle(PicAttributeSet set)Returns the factor by which dots are to be rotated (in degrees and CCW)static doublegetPolydotsHorizontalScale(PicAttributeSet set)Returns the factor by which dots are to be scaled horizontallystatic doublegetPolydotsSizeLineWidthScale(PicAttributeSet set)Returns the line-width scale for polygon dots (size = linewidth-scale * line-width + minimum_size)static doublegetPolydotsSizeMinimumMm(PicAttributeSet set)Returns the minimum size of polygon dots (size = linewidth-scale * line-width + minimum_size)static java.lang.StringgetPolydotsStyle(PicAttributeSet set)Returns the style of polygon dotsstatic doublegetPolydotsVerticalScale(PicAttributeSet set)Returns the factor by which dots are to be scaled verticallystatic java.lang.StringgetPstCustom(PicAttributeSet set)Return the pst custom parametersstatic ArrowgetRightArrow(PicAttributeSet set)Return the right arrowstatic doublegetRoundedBracketLengthScale(PicAttributeSet set)Returns the rounded-bracket length scale-factor (actual length (or height) = actual width * BRACKET_LENGTH)static doublegetShadowAngle(PicAttributeSet set)Return the shadow angle, guaranteed to lie b/w -180 and 180static java.awt.ColorgetShadowColor(PicAttributeSet set)Return the shadow colourstatic doublegetShadowSize(PicAttributeSet set)Return the shadow size , guaranteed to be positive.static doublegetTBarWidthLineWidthScale(PicAttributeSet set)Returns the linewidth-scale for T-bars (width = linewidth-scale * line-width + relative_width)static doublegetTBarWidthMinimumMm(PicAttributeSet set)Returns the relative-width for T-bars (width = linewidth-scale * line-width + relative_width)static booleanisDoubleLine(PicAttributeSet set)Return whether double-line is on or offstatic booleanisOverStrike(PicAttributeSet set)Return whether overstrike is on or offstatic booleanisPolydotsSuperimposed(PicAttributeSet set)Returns true if dots superimpose on underlying curvestatic booleanisShadow(PicAttributeSet set)Return whether shadow is on or offstatic voidsetArrowGlobalScaleLength(PicAttributeSet set, double d)Sets the scale-factor for the arrow lengthstatic voidsetArrowGlobalScaleWidth(PicAttributeSet set, double d)Sets the scale-factor for the arrow widthstatic voidsetArrowInsetScale(PicAttributeSet set, double d)Sets the arrow inset scale-factor (actual inset = ARROW_INSET * actual length)static voidsetArrowLengthScale(PicAttributeSet set, double d)Sets the arrow length scale-factor (actual length (or height) = actual width * ARROW_LENGTH)static voidsetArrowWidthLineWidthScale(PicAttributeSet set, double d)Sets the the linewidth scale-factor for the arrow width (width = line-width-scale * line-width + minimum_size)static voidsetArrowWidthMinimumMm(PicAttributeSet set, double d)Sets the relative-size for arrows (width = linewidth-scale * line-width + minimum_size)static voidsetBracketLengthScale(PicAttributeSet set, double d)Sets the bracket length scale-factor (actual length (or height) = actual width * BRACKET_LENGTH)static voidsetDashOpaque(PicAttributeSet set, double d)set the opaque dash lengthstatic voidsetDashTransparent(PicAttributeSet set, double d)set the transparent dash lengthstatic voidsetDimen(PicAttributeSet set, java.lang.String style)set the "dimen" parameter to OUTER, MIDDLE or INNER.static voidsetDotSep(PicAttributeSet set, double d)set the dot separationstatic voidsetDoubleLine(PicAttributeSet set, boolean b)set whether double-line is on or offstatic voidsetDoubleLineColor(PicAttributeSet set, java.awt.Color c)Return the double-line colourstatic voidsetDoubleLineSep(PicAttributeSet set, double d)set the DoubleLine separationstatic voidsetFillColor(PicAttributeSet set, java.awt.Color c)set the fill colourstatic voidsetFillStyle(PicAttributeSet set, java.lang.String style)set the fill style to NONE, SOLID, HLINES, ...static voidsetHatchAngle(PicAttributeSet set, double d)set the hatch anglestatic voidsetHatchColor(PicAttributeSet set, java.awt.Color c)set the hatch colourstatic voidsetHatchSep(PicAttributeSet set, double d)set the distance b/w hatchesstatic voidsetHatchWidth(PicAttributeSet set, double d)set the hatch widthstatic voidsetLeftArrow(PicAttributeSet set, Arrow a)set the left arrowstatic voidsetLineColor(PicAttributeSet set, java.awt.Color c)set the stroke colorstatic voidsetLineStyle(PicAttributeSet set, java.lang.String style)set the line stylestatic voidsetLineWidth(PicAttributeSet set, double width)set the line widthstatic voidsetOverStrike(PicAttributeSet set, boolean b)set whether overstrike is on or offstatic voidsetOverStrikeColor(PicAttributeSet set, java.awt.Color c)set the border colorstatic voidsetOverStrikeWidth(PicAttributeSet set, double width)set the overstrike widthstatic voidsetPolydotsAngle(PicAttributeSet set, double d)Sets the factor by which dots are to be rotated (in degrees and CCW)static voidsetPolydotsHorizontalScale(PicAttributeSet set, double d)Sets the factor by which dots are to be scaled horizontallystatic voidsetPolydotsSizeLineWidthScale(PicAttributeSet set, double d)Sets the line-width scale for polygon dots (size = linewidth-scale * line-width + minimum_size)static voidsetPolydotsSizeMinimumMm(PicAttributeSet set, double d)Sets the minimum size of polygon dots (size = linewidth-scale * line-width + minimum_size)static voidsetPolydotsStyle(PicAttributeSet set, java.lang.String s)Sets the style of polygon dotsstatic voidsetPolydotsSuperimposed(PicAttributeSet set, boolean b)Sets whether dots superimpose on underlying curve or notstatic voidsetPolydotsVerticalScale(PicAttributeSet set, double d)Sets the factor by which dots are to be scaled verticallystatic voidsetPstCustom(PicAttributeSet set, java.lang.String s)set pst custom parametersstatic voidsetRightArrow(PicAttributeSet set, Arrow a)set the right arrowstatic voidsetRoundedBracketLengthScale(PicAttributeSet set, double d)Sets the rounded-bracket length scale-factor (actual length (or height) = actual width * BRACKET_LENGTH)static voidsetShadow(PicAttributeSet set, boolean b)set whether shadow is on or offstatic voidsetShadowAngle(PicAttributeSet set, double d)set the shadow anglestatic voidsetShadowColor(PicAttributeSet set, java.awt.Color c)set the shadow colourstatic voidsetShadowSize(PicAttributeSet set, double d)set the ShadowSizestatic voidsetTBarWidthLineWidthScale(PicAttributeSet set, double d)Sets the linewidth-scale for T-bars (width = linewidth-scale * line-width + relative_width)static voidsetTBarWidthMinimumMm(PicAttributeSet set, double d)Sets the relative-width for T-bars (width = linewidth-scale * line-width + relative_width)
-
-
-
Method Detail
-
getLineStyle
public static java.lang.String getLineStyle(PicAttributeSet set)
Return the line style
-
setLineStyle
public static void setLineStyle(PicAttributeSet set, java.lang.String style)
set the line style
-
getLineColor
public static java.awt.Color getLineColor(PicAttributeSet set)
Return the stroke color
-
setLineColor
public static void setLineColor(PicAttributeSet set, java.awt.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 java.awt.Color getDoubleLineColor(PicAttributeSet set)
Return the double-line colour
-
setDoubleLineColor
public static void setDoubleLineColor(PicAttributeSet set, java.awt.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 java.awt.Color getOverStrikeColor(PicAttributeSet set)
Return the border color
-
setOverStrikeColor
public static void setOverStrikeColor(PicAttributeSet set, java.awt.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 java.awt.Color getShadowColor(PicAttributeSet set)
Return the shadow colour
-
setShadowColor
public static void setShadowColor(PicAttributeSet set, java.awt.Color c)
set the shadow colour
-
getDimen
public static java.lang.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, java.lang.String style)
set the "dimen" parameter to OUTER, MIDDLE or INNER.
-
getFillStyle
public static java.lang.String getFillStyle(PicAttributeSet set)
Return the fill style
-
setFillStyle
public static void setFillStyle(PicAttributeSet set, java.lang.String style)
set the fill style to NONE, SOLID, HLINES, ...
-
getFillColor
public static java.awt.Color getFillColor(PicAttributeSet set)
Return the fill colour
-
setFillColor
public static void setFillColor(PicAttributeSet set, java.awt.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 java.awt.Color getHatchColor(PicAttributeSet set)
Return the hatch colour
-
setHatchColor
public static void setHatchColor(PicAttributeSet set, java.awt.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 java.lang.String getPstCustom(PicAttributeSet set)
Return the pst custom parameters
-
setPstCustom
public static void setPstCustom(PicAttributeSet set, java.lang.String s)
set pst custom parameters
-
getPolydotsStyle
public static java.lang.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, java.lang.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)
-
setPolydotsSizeLineWidthScale
public static void setPolydotsSizeLineWidthScale(PicAttributeSet set, double d)
Sets the line-width scale for polygon dots (size = linewidth-scale * line-width + minimum_size)
-
getPolydotsSizeMinimumMm
public static double getPolydotsSizeMinimumMm(PicAttributeSet set)
Returns the minimum size of polygon dots (size = linewidth-scale * line-width + minimum_size)
-
setPolydotsSizeMinimumMm
public static void setPolydotsSizeMinimumMm(PicAttributeSet set, double d)
Sets the minimum size of polygon dots (size = linewidth-scale * line-width + minimum_size)
-
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)
-
-