/** * @class シェイプクラス */ function AerialShape(){ var self = this; /** * ドキュメントID * @type string */ this.id = null; /** * シェイプタイプ * @private * @type string * @constant * @default shape */ this.type = 'shape'; /** * 座標の配列 * @type AerialPoint[] */ this.pointList = new Array(); /** * 線の色 * @type string * @default #E8003C */ this.strokeColor = '#E8003C'; /** * 内部領域の色 * @type string * @default #FFCCCC */ this.fillColor = '#FFCCCC'; /** * 線の太さ * @type int * @default 2 */ this.strokeWeight = 2; /** * 透過度 * @type number * @default 0.5 */ this.opacity = 0.5; this.onMouseOver; this.onMouseOut; this.onClick; } /** * @class ポリラインクラス * @augments AerialShape */ function AerialPolyline(){ var self = this; var sup = new AerialShape(); AerialUtil.inherit(sup, self); /** * シェイプタイプ * @private * @type string * @constant * @default polyline */ this.type = 'polyline'; /** * 内部領域の色 * @type string * @constant * @default null */ this.fillColor = null; } /** * @class ポリゴンクラス * @augments AerialShape */ function AerialPolygon(){ var self = this; var sup = new AerialShape(); AerialUtil.inherit(sup, self); /** * シェイプタイプ * @private * @type string * @constant * @default polyline */ this.type = 'polygon'; }