コード例 #1
0
ファイル: SearchArea.java プロジェクト: metsci/worldwind
  /** {@inheritDoc} Overridden to update symbol attributes. */
  @Override
  protected void determineActiveAttributes() {
    super.determineActiveAttributes();

    // Apply active attributes to the symbol.
    if (this.symbolAttributes != null) {
      ShapeAttributes activeAttributes = this.getActiveShapeAttributes();
      this.symbolAttributes.setOpacity(activeAttributes.getInteriorOpacity());
      this.symbolAttributes.setScale(this.activeOverrides.getScale());
    }
  }