Skip to content

Commit 6243ae1

Browse files
committed
Changed type for some properties to Color
1 parent b195b31 commit 6243ae1

14 files changed

+17
-17
lines changed

Source/DataSources/BillboardGraphics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Object.defineProperties(BillboardGraphics.prototype, {
221221
* </div>
222222
* </p>
223223
* @memberof BillboardGraphics.prototype
224-
* @type {Property|undefined}
224+
* @type {Color|undefined}
225225
* @default Color.WHITE
226226
*/
227227
color: createPropertyDescriptor("color"),

Source/DataSources/BoxGraphics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Object.defineProperties(BoxGraphics.prototype, {
122122
/**
123123
* Gets or sets the Property specifying the {@link Color} of the outline.
124124
* @memberof BoxGraphics.prototype
125-
* @type {Property|undefined}
125+
* @type {Color|undefined}
126126
* @default Color.BLACK
127127
*/
128128
outlineColor: createPropertyDescriptor("outlineColor"),

Source/DataSources/CorridorGraphics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Object.defineProperties(CorridorGraphics.prototype, {
196196
/**
197197
* Gets or sets the Property specifying the {@link Color} of the outline.
198198
* @memberof CorridorGraphics.prototype
199-
* @type {Property|undefined}
199+
* @type {Color|undefined}
200200
* @default Color.BLACK
201201
*/
202202
outlineColor: createPropertyDescriptor("outlineColor"),

Source/DataSources/CylinderGraphics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Object.defineProperties(CylinderGraphics.prototype, {
147147
/**
148148
* Gets or sets the Property specifying the {@link Color} of the outline.
149149
* @memberof CylinderGraphics.prototype
150-
* @type {Property|undefined}
150+
* @type {Color|undefined}
151151
* @default Color.BLACK
152152
*/
153153
outlineColor: createPropertyDescriptor("outlineColor"),

Source/DataSources/EllipseGraphics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Object.defineProperties(EllipseGraphics.prototype, {
210210
/**
211211
* Gets or sets the Property specifying the {@link Color} of the outline.
212212
* @memberof EllipseGraphics.prototype
213-
* @type {Property|undefined}
213+
* @type {Color|undefined}
214214
* @default Color.BLACK
215215
*/
216216
outlineColor: createPropertyDescriptor("outlineColor"),

Source/DataSources/EllipsoidGraphics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Object.defineProperties(EllipsoidGraphics.prototype, {
186186
/**
187187
* Gets or sets the Property specifying the {@link Color} of the outline.
188188
* @memberof EllipsoidGraphics.prototype
189-
* @type {Property|undefined}
189+
* @type {Color|undefined}
190190
* @default Color.BLACK
191191
*/
192192
outlineColor: createPropertyDescriptor("outlineColor"),

Source/DataSources/LabelGraphics.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Object.defineProperties(LabelGraphics.prototype, {
167167
/**
168168
* Gets or sets the Property specifying the background {@link Color}.
169169
* @memberof LabelGraphics.prototype
170-
* @type {Property|undefined}
170+
* @type {Color|undefined}
171171
* @default new Color(0.165, 0.165, 0.165, 0.8)
172172
*/
173173
backgroundColor: createPropertyDescriptor("backgroundColor"),
@@ -251,14 +251,14 @@ Object.defineProperties(LabelGraphics.prototype, {
251251
/**
252252
* Gets or sets the Property specifying the fill {@link Color}.
253253
* @memberof LabelGraphics.prototype
254-
* @type {Property|undefined}
254+
* @type {Color|undefined}
255255
*/
256256
fillColor: createPropertyDescriptor("fillColor"),
257257

258258
/**
259259
* Gets or sets the Property specifying the outline {@link Color}.
260260
* @memberof LabelGraphics.prototype
261-
* @type {Property|undefined}
261+
* @type {Color|undefined}
262262
*/
263263
outlineColor: createPropertyDescriptor("outlineColor"),
264264

Source/DataSources/ModelGraphics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ Object.defineProperties(ModelGraphics.prototype, {
229229
/**
230230
* Gets or sets the Property specifying the {@link Color} that blends with the model's rendered color.
231231
* @memberof ModelGraphics.prototype
232-
* @type {Property|undefined}
232+
* @type {Color|undefined}
233233
* @default Color.WHITE
234234
*/
235235
color: createPropertyDescriptor("color"),

Source/DataSources/PlaneGraphics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Object.defineProperties(PlaneGraphics.prototype, {
122122
/**
123123
* Gets or sets the Property specifying the {@link Color} of the outline.
124124
* @memberof PlaneGraphics.prototype
125-
* @type {Property|undefined}
125+
* @type {Color|undefined}
126126
* @default Color.BLACK
127127
*/
128128
outlineColor: createPropertyDescriptor("outlineColor"),

Source/DataSources/PointGraphics.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@ Object.defineProperties(PointGraphics.prototype, {
9696
/**
9797
* Gets or sets the Property specifying the {@link Color} of the point.
9898
* @memberof PointGraphics.prototype
99-
* @type {Property|undefined}
99+
* @type {Color|undefined}
100100
* @default Color.WHITE
101101
*/
102102
color: createPropertyDescriptor("color"),
103103

104104
/**
105105
* Gets or sets the Property specifying the {@link Color} of the outline.
106106
* @memberof PointGraphics.prototype
107-
* @type {Property|undefined}
107+
* @type {Color|undefined}
108108
* @default Color.BLACK
109109
*/
110110
outlineColor: createPropertyDescriptor("outlineColor"),

Source/DataSources/PolygonGraphics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Object.defineProperties(PolygonGraphics.prototype, {
213213
/**
214214
* Gets or sets the Property specifying the {@link Color} of the outline.
215215
* @memberof PolygonGraphics.prototype
216-
* @type {Property|undefined}
216+
* @type {Color|undefined}
217217
* @default Color.BLACK
218218
*/
219219
outlineColor: createPropertyDescriptor("outlineColor"),

Source/DataSources/PolylineVolumeGraphics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Object.defineProperties(PolylineVolumeGraphics.prototype, {
145145
/**
146146
* Gets or sets the Property specifying the {@link Color} of the outline.
147147
* @memberof PolylineVolumeGraphics.prototype
148-
* @type {Property|undefined}
148+
* @type {Color|undefined}
149149
* @default Color.BLACK
150150
*/
151151
outlineColor: createPropertyDescriptor("outlineColor"),

Source/DataSources/RectangleGraphics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Object.defineProperties(RectangleGraphics.prototype, {
197197
/**
198198
* Gets or sets the Property specifying the {@link Color} of the outline.
199199
* @memberof RectangleGraphics.prototype
200-
* @type {Property|undefined}
200+
* @type {Color|undefined}
201201
* @default Color.BLACK
202202
*/
203203
outlineColor: createPropertyDescriptor("outlineColor"),

Source/DataSources/WallGraphics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Object.defineProperties(WallGraphics.prototype, {
146146
/**
147147
* Gets or sets the Property specifying the {@link Color} of the outline.
148148
* @memberof WallGraphics.prototype
149-
* @type {Property|undefined}
149+
* @type {Color|undefined}
150150
* @default Color.BLACK
151151
*/
152152
outlineColor: createPropertyDescriptor("outlineColor"),

0 commit comments

Comments
 (0)