 <doc>
	<legacy_id>2517</legacy_id>
	<name>points</name>
	<type>property</type>

	<syntax>
		<example>set the [effective] points of <i>graphic</i> to <i>vertexList</i></example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Specifies where the <glossary tag="vertex">vertexes</glossary> of a <keyword tag="graphic">graphic</keyword> are located.</summary>

	<examples>
<example>set the points of the selectedObject to myVertexes</example>
	</examples>

	<history>
		<introduced version="1.0">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		<changed version="6.7">Updated now points are returned for graphic types that don't have defined "points"</changed>
		<experimental version=""></experimental>
		<nonexperimental version=""></nonexperimental>
	</history>

	<objects>
		<graphic/>
	</objects>

	<platforms>
		<mac/>
		<windows/>
		<linux/>
		<ios/>
		<android/>
	</platforms>

	<classes>
		<desktop/>
		<server/>
		<web/>
		<mobile/>
	</classes>

	<security>
	</security>


	<classification>
		<category>Appearance &amp; Positioning</category>
	</classification>

	<references>
		<property tag="relativePoints">relativePoints Property</property>
		<property tag="dontResize">dontResize Property</property>
	</references>

	<description>
	<overview>Use the <b>points</b> property to find the shape of a line, curve, or irregular polygon graphic, or to reshape the graphic.</overview>

		<parameters>
		</parameters>

	<value>The <b>points</b> of a graphic is a list of points (two integers separated by a comma), one per line.</value>
	<comments>Each point consists of the horizontal distance in pixels from the left edge of the stack window to the vertex, a comma, and the vertical distance in pixels from the top edge of the stack window to the vertex. (The relativePoints property is the same list, but measured from the top left of the graphic rather than the top left of the stack window.)<p></p><p>The first line in the list is the location of the graphic's starting point. A line is drawn from the starting point to the next vertex, which is the next line in the list. If two successive lines are identical, a dot is drawn at the specified point.</p><p></p><p>A blank line in the points indicates that the previous and next vertexes are not connected by a line--that is, the line, curve, or polygon is broken into two (or more) pieces. If the last line of the points of a polygon is blank, the polygon is not closed. A closed polygon's start point (the first line of its points property) is the same as its end point (the last line of its points property).</p><p></p><p></p><tip> When setting the points property, you can separate the individual points with a comma instead of a return. The points property is always reported with the points on separate lines, however.</tip><p></p><p>If the style property of the graphic is not "line", "polygon" or "curve", the setting of its points property has no effect.</p><p></p><p></p><note> The rectangle of a graphic is drawn around all its points without touching them. (Usually, this makes no difference, but in some circumstances where you need to place a graphic's vertex precisely with respect to another object's rectangle, you may need to take this into account.)</note><p></p><p></p><change><p>6.7: The effective points and effective relativePoints of a graphic return a polygonal representation of the shape even for shapes not defined by points. In particular, you can get the effective points of rectangle, round-rectangle, oval and regular polygon graphics.</change></comments>
	</description>
</doc>
