{"identifier":69837,"topic":"Properties","name":"centered","text":"<code> set <\/code>[<code>the<\/code>]<code> centered to <i>trueOrFalse<\/i> <br><br>\n\n <\/code>The<code> centered <\/code>property returns or sets whether HyperCard draws shapes from the center rather than from a corner. It corresponds to the Centered command in the Options menu (which appears when you select a Paint tool). <br><br>\n\n The<code> centered <\/code>property affects the Line, Rectangle, Rounded Rectangle, and Oval tools. Its default value is<code> false<\/code>. <br>\n","related":{"71536":"filled","77229":"multiple","77376":"multiSpace","45965":"reset"},"examples":"set the centered to true","demo":"on mouseUp\n   show bkgnd field \"demo field\"\n   setUpPaint  -- See Below\n   displayMessage \"Drag with centered set to TRUE:\"\n   set the <b>centered<\/b> to true\n   drag from 240,160 to 305,225 with optionKey\n   wait 2 seconds\n   displayMessage \"The same drag with centered set to FALSE:\"\n   set the <b>centered<\/b> to false\n   drag from 240,160 to 305,225\n   wait 2 seconds\n   doMenu \"Revert\"\n   put empty into bkgnd field \"demo field\"\n   hide bkgnd field \"demo field\"\n   choose browse tool\n end mouseUp\n <br><br>\n\n on setUpPaint\n   choose rect tool\n   set pattern to 22\n   set the linesize to 2\n   set filled to false\n   set the dragSpeed to 100\n   set multiSpace to 4\n   set multiple to true\n end setUpPaint\n ","debug":{"9":["\rset [the] centered "]}}