< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/synth/SynthGraphicsUtils.java
Print this page
*** 53,63 ****
private Rectangle textR = new Rectangle();
private Rectangle viewR = new Rectangle();
private Insets viewSizingInsets = new Insets(0, 0, 0, 0);
/**
! * Creates a <code>SynthGraphicsUtils</code>.
*/
public SynthGraphicsUtils() {
}
/**
--- 53,63 ----
private Rectangle textR = new Rectangle();
private Rectangle viewR = new Rectangle();
private Insets viewSizingInsets = new Insets(0, 0, 0, 0);
/**
! * Creates a {@code SynthGraphicsUtils}.
*/
public SynthGraphicsUtils() {
}
/**
*** 78,91 ****
}
/**
* Draws a line between the two end points.
* <p>This implementation supports only one line style key,
! * <code>"dashed"</code>. The <code>"dashed"</code> line style is applied
* only to vertical and horizontal lines.
! * <p>Specifying <code>null</code> or any key different from
! * <code>"dashed"</code> will draw solid lines.
*
* @param context identifies hosting region
* @param paintKey identifies the portion of the component being asked
* to paint, may be null
* @param g Graphics object to paint to
--- 78,91 ----
}
/**
* Draws a line between the two end points.
* <p>This implementation supports only one line style key,
! * {@code "dashed"}. The {@code "dashed"} line style is applied
* only to vertical and horizontal lines.
! * <p>Specifying {@code null} or any key different from
! * {@code "dashed"} will draw solid lines.
*
* @param context identifies hosting region
* @param paintKey identifies the portion of the component being asked
* to paint, may be null
* @param g Graphics object to paint to
< prev index next >