markerPoints

Specifies the shape of markers at each vertex of a curve or polygon graphic.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

set the markerPoints of graphic to listOfVertexes

# Examples

set the markerPoints of the target to savedMarkerShape

set the markerPoints of me to 0,0 & return & 0,3 & return & 3,3 \ & return & 3,0 & return & 0,0 -- defines a small square marker

# Description

Use the markerPoints property to create a small shape to mark the vertex of a graphic.

Curve and irregular polygon graphics can be drawn with a marker at each vertex. The marker itself is in the shape of a polygon, and the markerPoints property specifies this shape by specifying each vertex of the marker. Each point consists of the horizontal distance in pixels from the left edge of the marker to the marker vertex, a comma, and the vertical distance in pixels from the top edge of the marker to the marker vertex.

The first line in the list is the location of the marker shape's starting point. A blank line in the markerPoints indicates that the previous and next vertex are not connected by a line--that is, the marker is broken into two (or more) pieces.

If the style property of the graphic is not polygon or curve, the setting of its markerPoints property has no effect.

If the markerDrawn property is false, the markerPoints property has no effect.

# Tags

ui,

# See

- **keyword:** polygon, line, point, graphic - **property:** relativePoints, points, pixels, markerLineSize - **object:** graphic - **glossary:** vertex, property, integer