# PointGraphics

#### new Cesium.PointGraphics(options)
DataSources/PointGraphics.js 35

  Describes a graphical point located at the position of the containing `Entity`.

  Name | Type | Description
  --- | --- | ---

  `options`

  Object

  optional Object with the following properties:

  Name | Type | Default | Description
  --- | --- | --- | ---
  `color` | Property | `Color.WHITE` | optional A Property specifying the `Color` of the point.
  `pixelSize` | Property | `1` | optional A numeric Property specifying the size in pixels.
  `outlineColor` | Property | `Color.BLACK` | optional A Property specifying the `Color` of the outline.
  `outlineWidth` | Property | `0` | optional A numeric Property specifying the the outline width in pixels.
  `show` | Property | `true` | optional A boolean Property specifying the visibility of the point.
  `scaleByDistance` | Property |  | optional A `NearFarScalar` Property used to scale the point based on distance.
  `translucencyByDistance` | Property |  | optional A `NearFarScalar` Property used to set translucency based on distance from the camera.
  `heightReference` | Property | `HeightReference.NONE` | optional A Property specifying what the height is relative to.
  `distanceDisplayCondition` | Property |  | optional A Property specifying at what distance from the camera that this point will be displayed.

### Members

#### color : Property
DataSources/PointGraphics.js 79

  Gets or sets the Property specifying the `Color` of the point.
  Default Value: `Color.WHITE`

#### readonlydefinitionChanged : Event
DataSources/PointGraphics.js 67

  Gets the event that is raised whenever a property or sub-property is changed or modified.

#### distanceDisplayCondition : Property
DataSources/PointGraphics.js 145

  Gets or sets the `DistanceDisplayCondition` Property specifying at what distance from the camera that this point will be displayed.

#### heightReference : Property
DataSources/PointGraphics.js 138

  Gets or sets the Property specifying the `HeightReference`.
  Default Value: `HeightReference.NONE`

#### outlineColor : Property
DataSources/PointGraphics.js 95

  Gets or sets the Property specifying the `Color` of the outline.
  Default Value: `Color.BLACK`

#### outlineWidth : Property
DataSources/PointGraphics.js 103

  Gets or sets the numeric Property specifying the the outline width in pixels.
  Default Value: `0`

#### pixelSize : Property
DataSources/PointGraphics.js 87

  Gets or sets the numeric Property specifying the size in pixels.
  Default Value: `1`

#### scaleByDistance : Property
DataSources/PointGraphics.js 119

  Gets or sets the `NearFarScalar` Property used to scale the point based on distance. If undefined, a constant size is used.

#### show : Property
DataSources/PointGraphics.js 111

  Gets or sets the boolean Property specifying the visibility of the point.
  Default Value: `true`

#### translucencyByDistance : Property
DataSources/PointGraphics.js 130

  Gets or sets `NearFarScalar` Property specifying the translucency of the point based on the distance from the camera. A point's translucency will interpolate between the `NearFarScalar#nearValue` and `NearFarScalar#farValue` while the camera distance falls within the upper and lower bounds of the specified `NearFarScalar#near` and `NearFarScalar#far`. Outside of these ranges the points's translucency remains clamped to the nearest bound.

### Methods

#### clone(result) → PointGraphics
DataSources/PointGraphics.js 154

  Duplicates this instance.

  Name | Type | Description
  --- | --- | ---
  `result` | PointGraphics | optional The object onto which to store the result.

  ##### Returns:

  The modified result parameter or a new instance if one was not provided.

#### merge(source)
DataSources/PointGraphics.js 176

  Assigns each unassigned property on this object to the value of the same property on the provided source object.

  Name | Type | Description
  --- | --- | ---
  `source` | PointGraphics | The object to be merged into this object.