コード例 #1
0
ファイル: Dummy.java プロジェクト: ubdsgroup/wglobe
  @Override
  protected void applyDefaultAttributes(ShapeAttributes attributes) {
    super.applyDefaultAttributes(attributes);

    attributes.setOutlineWidth(2.0);
    attributes.setOutlineStippleFactor(15);
    attributes.setOutlineStipplePattern((short) 0xAAAA);
  }
コード例 #2
0
ファイル: SearchArea.java プロジェクト: metsci/worldwind
  /** {@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);
  }