@Override protected void applyDefaultAttributes(ShapeAttributes attributes) { super.applyDefaultAttributes(attributes); attributes.setOutlineWidth(2.0); attributes.setOutlineStippleFactor(15); attributes.setOutlineStipplePattern((short) 0xAAAA); }
/** {@inheritDoc} */ @Override protected void applyDefaultAttributes(ShapeAttributes attributes) { super.applyDefaultAttributes(attributes); // Enable the polygon interior for the "thick line" polygon. All other parts of the graphic are // drawn with Path, // so the draw interior setting will not affect them. attributes.setDrawInterior(true); }