<doc>
	<legacy_id>1071</legacy_id>
	<name>roundEnds</name>
	<type>property</type>

	<syntax>
		<example>set the roundEnds [of graphic] to {true | false}</example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Specifies whether lines have rounded ends or squared-off ends. </summary>

	<examples>
<example>set the roundEnds to true</example>
<example>set the roundEnds of graphic &quot;Connector&quot; to false</example>
	</examples>

	<history>
		<introduced version="1.0">Added. </introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		
	</history>

	<objects>
		<graphic/>
	</objects>

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

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

	<security>
	</security>


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

	<references>
		<property tag="dashes">dashes Property</property>
		<property tag="lineSize">lineSize Property</property>
		<property tag="roundRadius">roundRadius Property</property>
		<property tag="style">style Property</property>
		<property tag="joinStyle">joinStyle Property</property>
		<property tag="capStyle">capStyle Property</property>
		<property tag="miterLimit">miterLimit Property</property>
	</references>

	<description>
	<overview>Use the <b>roundEnds</b> <glossary tag="property">property</glossary> to control the <glossary tag="appearance">appearance</glossary> of lines.</overview>

	<parameters></parameters>

	<value>The <b>roundEnds</b> of a <keyword tag="graphic">graphic</keyword> is true or false. <p></p><p>By default, the <b>roundEnds</b> of a newly created <keyword tag="graphic">graphic</keyword> is set to false. </p></value>
	<comments>If the <b>roundEnds</b> of a <keyword tag="graphic">graphic</keyword> is true, the ends of lines are rounded, and so is the intersection of lines within the <keyword tag="graphic">graphic</keyword>. If the <b>roundEnds</b> is false, the ends of lines are squared off. <p></p><p>If the graphic's <b>lineSize</b> <glossary tag="property">property</glossary> is 1, the setting of the <b>roundEnds</b> has no effect. </p><p></p><p>If the graphic's <b>style</b> <glossary tag="property">property</glossary> is oval, roundRect, or curve, or if the graphic's <property tag="borderWidth">lineSize</property> <glossary tag="property">property</glossary> is less than 2, the setting of this <glossary tag="property">property</glossary> has no effect. </p><p></p><p>The global setting of the <b>roundEnds</b> <glossary tag="property">property</glossary> <glossary tag="control">controls</glossary> the <glossary tag="appearance">appearance</glossary> of lines drawn with the <keyword tag="line">line</keyword>, <keyword tag="rectangle">rectangle</keyword>, <keyword tag="polygon">polygon</keyword>, or <keyword tag="regular">regular</keyword> <glossary tag="paint tool">paint tools</glossary>. Once a paint line or shape is drawn, its appearance cannot be changed by changing the <command tag="global">global</command> <b>roundEnds</b> <glossary tag="property">property</glossary>. </p><p></p><p>The <b>roundEnds</b> property is derived from the <property tag="capStyle">capStyle</property> property and returns true if, and only if, the <property tag="capStyle">capStyle</property> property is round. Setting <b>roundEnds</b> to true sets the <property tag="capStyle">capStyle</property> to round, and setting the <b>roundEnds</b> to false sets the <property tag="capStyle">capStyle</property> to butt.</p><p></p><p><cp_note>The roundEnds property has no effect on Mac unless the graphic has its antialiased property set to true.</cp_note></p></comments>
	</description>
</doc>