-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlisting73.html
executable file
·745 lines (715 loc) · 42.4 KB
/
listing73.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<!-- BEGIN META TAG INFO -->
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="home" href="http://developer.apple.com/">
<link rel="find" href="http://developer.apple.com/search/">
<link rel="stylesheet" type="text/css" href="../../documentation/css/adcstyle.css" title="fonts">
<script language="JavaScript" src="../../documentation/js/adc.js" type="text/javascript"></script>
<!-- END META TAG INFO -->
<!-- BEGIN TITLE -->
<title>Sketch-112 - /Sketch Before/Sketch.sdef</title>
<!-- END TITLE -->
<script language="JavaScript">
function JumpToNewPage() {
window.location=document.scpopupmenu.gotop.value;
return true;
}
</script>
</head>
<!-- BEGIN BODY OPEN -->
<body>
<!--END BODY OPEN -->
<!-- START CENTER OPEN -->
<center>
<!-- END CENTER OPEN -->
<!-- BEGIN LOGO AND SEARCH -->
<!--#include virtual="/includes/adcnavbar"-->
<!-- END LOGO AND SEARCH -->
<!-- START BREADCRUMB -->
<div id="breadcrumb">
<table width="680" border="0" cellpadding="0" cellspacing="0">
<tr>
<td scope="row"><img width="340" height="10" src="images/1dot.gif" alt=""></td>
<td><img width="340" height="10" src="images/1dot.gif" alt=""></td>
</tr>
<tr valign="middle">
<td align="left" colspan="2">
<a href="http://developer.apple.com/">ADC Home</a> > <a href="../../referencelibrary/index.html">Reference Library</a> > <a href="../../samplecode/index.html">Sample Code</a> > <a href="../../samplecode/ScriptingAutomation/index.html">Scripting & Automation</a> > <a href="../../samplecode/ScriptingAutomation/idxCocoa-date.html">Cocoa</a> > <A HREF="javascript:location.replace('index.html');">Sketch-112</A> >
</td>
</tr>
<tr>
<td colspan="2" scope="row"><img width="680" height="35" src="images/1dot.gif" alt=""></td>
</tr>
</table>
</div>
<!-- END BREADCRUMB -->
<!-- START MAIN CONTENT -->
<!-- START TITLE GRAPHIC AND INTRO-->
<table width="680" border="0" cellpadding="0" cellspacing="0">
<tr align="left" valign="top">
<td><h1><div id="pagehead">Sketch-112</div></h1></td>
</tr>
</table>
<!-- END TITLE GRAPHIC AND INTRO -->
<!-- START WIDE COLUMN -->
<table width="680" border="0" cellpadding="0" cellspacing="0">
<tr align="left" valign="top">
<td id="scdetails">
<h2>/Sketch Before/Sketch.sdef</h2>
<form name="scpopupmenu" onSubmit="return false;" method=post>
<p><strong>View Source Code:</strong>
<select name="gotop" onChange="JumpToNewPage();" style="width:340px"><option selected value="ingnore">Select File</option>
<option value="listing1.html">/Sketch After/DocumentModel.subproj/my.h</option>
<option value="listing2.html">/Sketch After/DocumentModel.subproj/SKTAlignCommand.h</option>
<option value="listing3.html">/Sketch After/DocumentModel.subproj/SKTAlignCommand.m</option>
<option value="listing4.html">/Sketch After/DocumentModel.subproj/SKTCircle.h</option>
<option value="listing5.html">/Sketch After/DocumentModel.subproj/SKTCircle.m</option>
<option value="listing6.html">/Sketch After/DocumentModel.subproj/SKTDrawDocument.h</option>
<option value="listing7.html">/Sketch After/DocumentModel.subproj/SKTDrawDocument.m</option>
<option value="listing8.html">/Sketch After/DocumentModel.subproj/SKTGraphic.h</option>
<option value="listing9.html">/Sketch After/DocumentModel.subproj/SKTGraphic.m</option>
<option value="listing10.html">/Sketch After/DocumentModel.subproj/SKTImage.h</option>
<option value="listing11.html">/Sketch After/DocumentModel.subproj/SKTImage.m</option>
<option value="listing12.html">/Sketch After/DocumentModel.subproj/SKTLine.h</option>
<option value="listing13.html">/Sketch After/DocumentModel.subproj/SKTLine.m</option>
<option value="listing14.html">/Sketch After/DocumentModel.subproj/SKTRectangle.h</option>
<option value="listing15.html">/Sketch After/DocumentModel.subproj/SKTRectangle.m</option>
<option value="listing16.html">/Sketch After/DocumentModel.subproj/SKTRectangleOrientation.h</option>
<option value="listing17.html">/Sketch After/DocumentModel.subproj/SKTRectangleOrientation.m</option>
<option value="listing18.html">/Sketch After/DocumentModel.subproj/SKTRectangleRotate.h</option>
<option value="listing19.html">/Sketch After/DocumentModel.subproj/SKTRectangleRotate.m</option>
<option value="listing20.html">/Sketch After/DocumentModel.subproj/SKTRenderingView.h</option>
<option value="listing21.html">/Sketch After/DocumentModel.subproj/SKTRenderingView.m</option>
<option value="listing22.html">/Sketch After/DocumentModel.subproj/SKTScriptingExtras.h</option>
<option value="listing23.html">/Sketch After/DocumentModel.subproj/SKTTextArea.h</option>
<option value="listing24.html">/Sketch After/DocumentModel.subproj/SKTTextArea.m</option>
<option value="listing25.html">/Sketch After/English.lproj/Sketch.scriptTerminology</option>
<option value="listing26.html">/Sketch After/Sketch.scriptSuite</option>
<option value="listing27.html">/Sketch After/Sketch.sdef</option>
<option value="listing28.html">/Sketch After/Sketch_main.m</option>
<option value="listing29.html">/Sketch After/SKT_Prefix.h</option>
<option value="listing30.html">/Sketch After/SKTDrawAppDelegate.h</option>
<option value="listing31.html">/Sketch After/SKTDrawAppDelegate.m</option>
<option value="listing32.html">/Sketch After/SKTDrawWindowController.h</option>
<option value="listing33.html">/Sketch After/SKTDrawWindowController.m</option>
<option value="listing34.html">/Sketch After/SKTFoundationExtras.h</option>
<option value="listing35.html">/Sketch After/SKTFoundationExtras.m</option>
<option value="listing36.html">/Sketch After/SKTGraphicView.h</option>
<option value="listing37.html">/Sketch After/SKTGraphicView.m</option>
<option value="listing38.html">/Sketch After/SKTGridPanelController.h</option>
<option value="listing39.html">/Sketch After/SKTGridPanelController.m</option>
<option value="listing40.html">/Sketch After/SKTGridView.h</option>
<option value="listing41.html">/Sketch After/SKTGridView.m</option>
<option value="listing42.html">/Sketch After/SKTInspectorController.h</option>
<option value="listing43.html">/Sketch After/SKTInspectorController.m</option>
<option value="listing44.html">/Sketch After/SKTToolPaletteController.h</option>
<option value="listing45.html">/Sketch After/SKTToolPaletteController.m</option>
<option value="listing46.html">/Sketch After/ToDo.txt</option>
<option value="listing47.html">/Sketch Before/DocumentModel.subproj/my.h</option>
<option value="listing48.html">/Sketch Before/DocumentModel.subproj/SKTAlignCommand.h</option>
<option value="listing49.html">/Sketch Before/DocumentModel.subproj/SKTAlignCommand.m</option>
<option value="listing50.html">/Sketch Before/DocumentModel.subproj/SKTCircle.h</option>
<option value="listing51.html">/Sketch Before/DocumentModel.subproj/SKTCircle.m</option>
<option value="listing52.html">/Sketch Before/DocumentModel.subproj/SKTDrawDocument.h</option>
<option value="listing53.html">/Sketch Before/DocumentModel.subproj/SKTDrawDocument.m</option>
<option value="listing54.html">/Sketch Before/DocumentModel.subproj/SKTGraphic.h</option>
<option value="listing55.html">/Sketch Before/DocumentModel.subproj/SKTGraphic.m</option>
<option value="listing56.html">/Sketch Before/DocumentModel.subproj/SKTImage.h</option>
<option value="listing57.html">/Sketch Before/DocumentModel.subproj/SKTImage.m</option>
<option value="listing58.html">/Sketch Before/DocumentModel.subproj/SKTLine.h</option>
<option value="listing59.html">/Sketch Before/DocumentModel.subproj/SKTLine.m</option>
<option value="listing60.html">/Sketch Before/DocumentModel.subproj/SKTRectangle.h</option>
<option value="listing61.html">/Sketch Before/DocumentModel.subproj/SKTRectangle.m</option>
<option value="listing62.html">/Sketch Before/DocumentModel.subproj/SKTRectangleOrientation.h</option>
<option value="listing63.html">/Sketch Before/DocumentModel.subproj/SKTRectangleOrientation.m</option>
<option value="listing64.html">/Sketch Before/DocumentModel.subproj/SKTRectangleRotate.h</option>
<option value="listing65.html">/Sketch Before/DocumentModel.subproj/SKTRectangleRotate.m</option>
<option value="listing66.html">/Sketch Before/DocumentModel.subproj/SKTRenderingView.h</option>
<option value="listing67.html">/Sketch Before/DocumentModel.subproj/SKTRenderingView.m</option>
<option value="listing68.html">/Sketch Before/DocumentModel.subproj/SKTScriptingExtras.h</option>
<option value="listing69.html">/Sketch Before/DocumentModel.subproj/SKTTextArea.h</option>
<option value="listing70.html">/Sketch Before/DocumentModel.subproj/SKTTextArea.m</option>
<option value="listing71.html">/Sketch Before/English.lproj/Sketch.scriptTerminology</option>
<option value="listing72.html">/Sketch Before/Sketch.scriptSuite</option>
<option value="listing73.html">/Sketch Before/Sketch.sdef</option>
<option value="listing74.html">/Sketch Before/Sketch_main.m</option>
<option value="listing75.html">/Sketch Before/SKT_Prefix.h</option>
<option value="listing76.html">/Sketch Before/SKTDrawAppDelegate.h</option>
<option value="listing77.html">/Sketch Before/SKTDrawAppDelegate.m</option>
<option value="listing78.html">/Sketch Before/SKTDrawWindowController.h</option>
<option value="listing79.html">/Sketch Before/SKTDrawWindowController.m</option>
<option value="listing80.html">/Sketch Before/SKTFoundationExtras.h</option>
<option value="listing81.html">/Sketch Before/SKTFoundationExtras.m</option>
<option value="listing82.html">/Sketch Before/SKTGraphicView.h</option>
<option value="listing83.html">/Sketch Before/SKTGraphicView.m</option>
<option value="listing84.html">/Sketch Before/SKTGridPanelController.h</option>
<option value="listing85.html">/Sketch Before/SKTGridPanelController.m</option>
<option value="listing86.html">/Sketch Before/SKTGridView.h</option>
<option value="listing87.html">/Sketch Before/SKTGridView.m</option>
<option value="listing88.html">/Sketch Before/SKTInspectorController.h</option>
<option value="listing89.html">/Sketch Before/SKTInspectorController.m</option>
<option value="listing90.html">/Sketch Before/SKTToolPaletteController.h</option>
<option value="listing91.html">/Sketch Before/SKTToolPaletteController.m</option>
<option value="listing92.html">/Sketch Before/ToDo.txt</option>
<option value="listing93.html">/test scripts/test01.applescript</option>
<option value="listing94.html">/test scripts/test02.applescript</option>
<option value="listing95.html">/test scripts/test03.applescript</option></select>
</p>
</form>
<p><strong><a href="Sketch-112.zip">Download Sample</a></strong> (“Sketch-112.zip”, 378.8K)<BR>
<strong><a href="Sketch-112.dmg">Download Sample</a></strong> (“Sketch-112.dmg”, 595.4K)</p>
<!--
<p><strong><a href="#">Download Sample</a></strong> (“filename.sit”, 500K)</p>
-->
</td>
</tr>
<tr>
<td scope="row"><img width="680" height="10" src="images/1dot.gif" alt=""><br>
<img height="1" width="680" src="images/1dot_919699.gif" alt=""><br>
<img width="680" height="20" src="images/1dot.gif" alt=""></td>
</tr>
<tr>
<td scope="row">
<!--googleon: index -->
<pre class="sourcecodebox"><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
<dictionary title="Sketch Terminology">
<!--
STANDARD SUITE
-->
<suite name="Standard Suite" code="????"
description="Common classes and commands for all applications.">
<command name="open" code="aevtodoc"
description="Open a document.">
<direct-parameter description="The file(s) to be opened.">
<type type="file" list="yes"/>
</direct-parameter>
</command>
<enumeration name="save options" code="savo">
<enumerator name="yes" code="yes " description="Save the file."/>
<enumerator name="no" code="no " description="Do not save the file."/>
<enumerator name="ask" code="ask "
description="Ask the user whether or not to save the file."/>
</enumeration>
<command name="close" code="coreclos" description="Close a document.">
<cocoa class="NSCloseCommand"/>
<direct-parameter type="specifier"
description="the document(s) or window(s) to close."/>
<parameter name="saving" code="savo" type="save options" optional="yes"
description="Whether or not changes should be saved before closing.">
<cocoa key="SaveOptions"/>
</parameter>
<parameter name="saving in" code="kfil" type="file" optional="yes"
description="The file in which to save the document.">
<cocoa key="File"/>
</parameter>
</command>
<command name="save" code="coresave" description="Save a document.">
<direct-parameter type="specifier"
description="The document(s) or window(s) to save."/>
<parameter name="in" code="kfil" type="file" optional="yes"
description="The file in which to save the document.">
<cocoa key="File"/>
</parameter>
<!--
<parameter name="as" code="fltp" type="text" optional="yes"
description="The type of file to save.">
<cocoa key="FileType"/>
</parameter>
-->
</command>
<enumeration name="printing error handling" code="enum">
<enumerator name="standard" code="lwst"
description="Standard PostScript error handling"/>
<enumerator name="detailed" code="lwdt"
description="print a detailed report of PostScript errors"/>
</enumeration>
<record-type name="print settings" code="pset">
<property name="copies" code="lwcp" type="integer"
description="the number of copies of a document to be printed">
<cocoa key="NSCopies"/>
</property>
<property name="collating" code="lwcl" type="boolean"
description="Should printed copies be collated?">
<cocoa key="NSMustCollate"/>
</property>
<property name="starting page" code="lwfp" type="integer"
description="the first page of the document to be printed">
<cocoa key="NSFirstPage"/>
</property>
<property name="ending page" code="lwlp" type="integer"
description="the last page of the document to be printed">
<cocoa key="NSLastPage"/>
</property>
<property name="pages across" code="lwla" type="integer"
description="number of logical pages laid across a physical page">
<cocoa key="NSPagesAcross"/>
</property>
<property name="pages down" code="lwld" type="integer"
description="number of logical pages laid out down a physical page">
<cocoa key="NSPagesDown"/>
</property>
<property name="error handling" code="lweh" type="printing error handling"
description="how errors are handled">
<cocoa key="NSDetailedErrorReporting"/>
</property>
<property name="fax number" code="faxn" type="text"
description="for fax number">
<cocoa key="NSFaxNumber"/>
</property>
<property name="target printer" code="trpr" type="text"
description="for target printer">
<cocoa key="NSPrinterName"/>
</property>
</record-type>
<command name="print" code="aevtpdoc"
description="Print a document.">
<direct-parameter
description="The file(s), document(s), or window(s) to be printed.">
<type type="file" list="yes"/>
<type type="specifier"/>
</direct-parameter>
<parameter name="with properties" code="prdt" type="print settings" optional="yes"
description="The print settings to use.">
<cocoa key="PrintSettings"/>
</parameter>
<parameter name="print dialog" code="pdlg" type="boolean" optional="yes"
description="Should the application show the print dialog?">
<cocoa key="ShowPrintDialog"/>
</parameter>
</command>
<command name="quit" code="aevtquit" description="Quit the application.">
<cocoa class="NSQuitCommand"/>
<parameter name="saving" code="savo" type="save options" optional="yes"
description="Whether or not changed documents should be saved before closing.">
<cocoa key="SaveOptions"/>
</parameter>
</command>
<command name="count" code="corecnte"
description="Return the number of elements of a particular class within an object.">
<cocoa class="NSCountCommand"/>
<direct-parameter type="specifier"
description="the object whose elements are to be counted"/>
<parameter name="each" code="kocl" type="type" optional="yes"
description="The class of objects to be counted.">
<cocoa key="ObjectClass"/>
</parameter>
<result type="integer" description="the number of elements"/>
</command>
<command name="delete" code="coredelo" description="Delete an object.">
<cocoa class="NSDeleteCommand"/>
<direct-parameter type="specifier" description="the object to delete"/>
</command>
<command name="duplicate" code="coreclon"
description="Copy object(s) and put the copies at a new location.">
<cocoa class="NSCloneCommand"/>
<direct-parameter type="specifier"
description="the object(s) to duplicate"/>
<parameter name="to" code="insh" type="location specifier"
description="The location for the new object(s).">
<cocoa key="ToLocation"/>
</parameter>
<parameter name="with properties" code="prdt" type="record" optional="yes"
description="Properties to be set in the new duplicated object(s).">
<cocoa key="WithProperties"/>
</parameter>
</command>
<command name="exists" code="coredoex" description="Verify if an object exists.">
<cocoa class="NSExistsCommand"/>
<direct-parameter type="any" description="the object in question"/>
<result type="boolean" description="true if it exists, false if not"/>
</command>
<command name="make" code="corecrel" description="Make a new object.">
<cocoa class="NSCreateCommand"/>
<parameter name="new" code="kocl" type="type"
description="The class of the new object.">
<cocoa key="ObjectClass"/>
</parameter>
<parameter name="at" code="insh" type="location specifier" optional="yes"
description="The location at which to insert the object.">
<cocoa key="Location"/>
</parameter>
<parameter name="with data" code="data" type="any" optional="yes"
description="The initial contents of the object.">
<cocoa key="ObjectData"/>
</parameter>
<parameter name="with properties" code="prdt" type="record" optional="yes"
description="The initial values for properties of the object.">
<cocoa key="KeyDictionary"/>
</parameter>
<result type="specifier" description="to the new object"/>
</command>
<command name="move" code="coremove"
description="Move object(s) to a new location.">
<cocoa class="NSMoveCommand"/>
<direct-parameter type="specifier" description="the object(s) to move"/>
<parameter name="to" code="insh" type="location specifier"
description="The new location for the object(s).">
<cocoa key="ToLocation"/>
</parameter>
</command>
<class name="application" code="capp"
description="The application's top-level scripting object.">
<cocoa class="NSApplication"/>
<property name="name" code="pnam" type="text" access="r"
description="The name of the application."/>
<property name="frontmost" code="pisf" type="boolean" access="r"
description="Is this the frontmost (active) application?">
<cocoa key="isActive"/>
</property>
<property name="version" code="vers" type="text" access="r"
description="The version of the application."/>
<element type="document">
<cocoa key="orderedDocuments"/>
</element>
<element type="window" access="r">
<cocoa key="orderedWindows"/>
</element>
<responds-to name="open">
<cocoa method="handleOpenScriptCommand:"/>
</responds-to>
<responds-to name="print">
<cocoa method="handlePrintScriptCommand:"/>
</responds-to>
<responds-to name="quit">
<cocoa method="handleQuitScriptCommand:"/>
</responds-to>
</class>
<class name="document" code="docu" description="A Sketch document.">
<cocoa class="SKTDrawDocument"/>
<property name="name" code="pnam" type="text"
description="The document's name.">
<cocoa key="displayName"/>
</property>
<property name="modified" code="imod" type="boolean" access="r"
description="Has the document been modified since the last save?">
<cocoa key="isDocumentEdited"/>
</property>
<property name="file" code="file" type="file" access="r"
description="The document's location on disk.">
<cocoa key="fileURL"/>
</property>
<element type="graphic"/>
<element type="rectangle"/>
<element type="circle"/>
<element type="image"/>
<element type="line"/>
<element type="text area"/>
<responds-to name="close">
<cocoa method="handleCloseScriptCommand:"/>
</responds-to>
<responds-to name="print">
<cocoa method="handlePrintScriptCommand:"/>
</responds-to>
<responds-to name="save">
<cocoa method="handleSaveScriptCommand:"/>
</responds-to>
</class>
<class name="window" code="cwin" description="A window.">
<cocoa class="NSWindow"/>
<property name="name" code="pnam" type="text" access="r"
description="The full title of the window.">
<cocoa key="title"/>
</property>
<property name="id" code="ID " type="integer" access="r"
description="The unique identifier of the window.">
<cocoa key="uniqueID"/>
</property>
<property name="index" code="pidx" type="integer"
description="The index of the window, ordered front to back.">
<cocoa key="orderedIndex"/>
</property>
<property name="bounds" code="pbnd" type="rectangle"
description="The bounding rectangle of the window.">
<cocoa key="boundsAsQDRect"/>
</property>
<property name="closeable" code="hclb" type="boolean" access="r"
description="Whether the window has a close box.">
<cocoa key="hasCloseBox"/>
</property>
<property name="miniaturizable" code="ismn" type="boolean" access="r"
description="Whether the window can be minimized.">
<cocoa key="isMiniaturizable"/>
</property>
<property name="miniaturized" code="pmnd" type="boolean"
description="Whether the window is currently minimized.">
<cocoa key="isMiniaturized"/>
</property>
<property name="resizable" code="prsz" type="boolean" access="r"
description="Whether the window can be resized.">
<cocoa key="isResizable"/>
</property>
<property name="visible" code="pvis" type="boolean"
description="Whether the window is currently visible.">
<cocoa key="isVisible"/>
</property>
<property name="zoomable" code="iszm" type="boolean" access="r"
description="Whether the window can be zoomed.">
<cocoa key="isZoomable"/>
</property>
<property name="zoomed" code="pzum" type="boolean"
description="Whether the window is currently zoomed.">
<cocoa key="isZoomed"/>
</property>
<property name="document" code="docu" type="document" access="r"
description="The document whose contents are being displayed in the window."/>
<responds-to name="close">
<cocoa method="handleCloseScriptCommand:"/>
</responds-to>
<responds-to name="print">
<cocoa method="handlePrintScriptCommand:"/>
</responds-to>
<responds-to name="save">
<cocoa method="handleSaveScriptCommand:"/>
</responds-to>
</class>
</suite>
<!--
TEXT SUITE
-->
<suite name="Text Suite" code="????"
description="A set of basic classes for text processing.">
<value-type name="color" code="cRGB">
<cocoa class="NSColor"/>
</value-type>
<class name="rich text" plural="rich text" code="ctxt"
description="Rich (styled) text">
<cocoa class="NSTextStorage"/>
<property name="color" code="colr" type="color"
description="The color of the first character.">
<cocoa key="foregroundColor"/>
</property>
<property name="font" code="font" type="text"
description="The name of the font of the first character.">
<cocoa key="fontName"/>
</property>
<property name="size" code="ptsz" type="integer"
description="The size in points of the first character.">
<cocoa key="fontSize"/>
</property>
<element type="character"/>
<element type="paragraph"/>
<element type="word"/>
<element type="attribute run"/>
<element type="attachment"/>
</class>
<class name="character" code="cha "
description="This subdivides the text into characters.">
<cocoa class="NSTextStorage"/>
<property name="color" code="colr" type="color"
description="The color of the first character.">
<cocoa key="foregroundColor"/>
</property>
<property name="font" code="font" type="text"
description="The name of the font of the first character.">
<cocoa key="fontName"/>
</property>
<property name="size" code="ptsz" type="integer"
description="The size in points of the first character.">
<cocoa key="fontSize"/>
</property>
<element type="character"/>
<element type="paragraph"/>
<element type="word"/>
<element type="attribute run"/>
<element type="attachment"/>
</class>
<class name="paragraph" code="cpar"
description="This subdivides the text into paragraphs.">
<cocoa class="NSTextStorage"/>
<property name="color" code="colr" type="color"
description="The color of the first character.">
<cocoa key="foregroundColor"/>
</property>
<property name="font" code="font" type="text"
description="The name of the font of the first character.">
<cocoa key="fontName"/>
</property>
<property name="size" code="ptsz" type="integer"
description="The size in points of the first character.">
<cocoa key="fontSize"/>
</property>
<element type="character"/>
<element type="paragraph"/>
<element type="word"/>
<element type="attribute run"/>
<element type="attachment"/>
</class>
<class name="word" code="cwor"
description="This subdivides the text into words.">
<cocoa class="NSTextStorage"/>
<property name="color" code="colr" type="color"
description="The color of the first character.">
<cocoa key="foregroundColor"/>
</property>
<property name="font" code="font" type="text"
description="The name of the font of the first character.">
<cocoa key="fontName"/>
</property>
<property name="size" code="ptsz" type="integer"
description="The size in points of the first character.">
<cocoa key="fontSize"/>
</property>
<element type="character"/>
<element type="paragraph"/>
<element type="word"/>
<element type="attribute run"/>
<element type="attachment"/>
</class>
<class name="attribute run" code="catr"
description="This subdivides the text into chunks that all have the same attributes.">
<cocoa class="NSTextStorage"/>
<property name="color" code="colr" type="color"
description="The color of the first character.">
<cocoa key="foregroundColor"/>
</property>
<property name="font" code="font" type="text"
description="The name of the font of the first character.">
<cocoa key="fontName"/>
</property>
<property name="size" code="ptsz" type="integer"
description="The size in points of the first character.">
<cocoa key="fontSize"/>
</property>
<element type="character"/>
<element type="paragraph"/>
<element type="word"/>
<element type="attribute run"/>
<element type="attachment"/>
</class>
<class name="attachment" code="atts" inherits="rich text"
description="Represents an inline text attachment. This class is used mainly for make commands.">
<cocoa class="NSAttachmentTextStorage"/>
<property name="file name" code="atfn" type="text"
description="The path to the file for the attachment">
<cocoa key="filename"/>
</property>
</class>
</suite>
<!--
SKETCH SUITE
-->
<suite name="Sketch Suite" code="sktc"
description="Sketch specific classes.">
<!-- Classes -->
<class name="graphic" code="grph"
description="A graphic. This abstract class represents the individual shapes in a Sketch document. There are subclasses for each specific type of graphic.">
<cocoa class="SKTGraphic"/>
<property name="x position" code="xpos" type="real"
description="The x coordinate of the graphic's bounding rectangle."/>
<property name="y position" code="ypos" type="real"
description="The y coordinate of the graphic's bounding rectangle."/>
<property name="width" code="widt" type="real"
description="The width of the graphic's bounding rectangle."/>
<property name="height" code="heig" type="real"
description="The height of the graphic's bounding rectangle."/>
<property name="stroke color" code="sclr" type="color"/>
<property name="fill color" code="fclr" type="color"/>
<property name="stroke thickness" code="slwd" type="real">
<cocoa key="strokeLineWidth"/>
</property>
</class>
<class name="rectangle" code="d2rc" inherits="graphic"
description="A rectangle graphic.">
<cocoa class="SKTRectangle"/>
<property name="orientation" code="orin" type="orientation"/>
<responds-to name="rotate">
<cocoa method="rotate:"/>
</responds-to>
</class>
<enumeration name="orientation" code="orie">
<enumerator name="portrait" code="port" description="Taller than wide."/>
<enumerator name="landscape" code="land" description="Wider than tall."/>
<enumerator name="square" code="squa" description="Neither wider nor taller."/>
</enumeration>
<class name="circle" code="d2cr" inherits="graphic"
description="A circle graphic.">
<cocoa class="SKTCircle"/>
</class>
<class name="image" code="d2im" inherits="graphic"
description="A placed image.">
<cocoa class="SKTImage"/>
<property name="image file" code="imgf" type="file" access="r"
description="The path to the file containing the image.">
<cocoa key="imageFile"/>
</property>
</class>
<class name="line" code="d2ln" inherits="graphic"
description="A line graphic.">
<cocoa class="SKTLine"/>
</class>
<class name="text area" code="d2ta" inherits="graphic"
description="A text graphic.">
<cocoa class="SKTTextArea"/>
<contents name="text contents" code="tact" type="rich text"
description="The text of the text area.">
<cocoa key="contents"/>
</contents>
</class>
<!-- Commands -->
<command name="rotate" code="sktcrota"
description="Rotate objects.">
<direct-parameter type="graphic"/>
<parameter name="by" code="by " type="real"
description="degrees to rotate; positive numbers rotate counter-clockwise.">
<cocoa key="byDegrees"/>
</parameter>
</command>
<command name="align" code="sktcalig"
description="Align a set of objects.">
<cocoa class="SKTAlignCommand"/>
<direct-parameter>
<type type="graphic" list="yes"/>
</direct-parameter>
<parameter name="to" code="to " type="edge">
<cocoa key="toEdge"/>
</parameter>
</command>
<enumeration name="edge" code="edge">
<enumerator name="left edges" code="left"/>
<enumerator name="right edges" code="righ"/>
<enumerator name="horizontal centers" code="horc"/>
<enumerator name="top edges" code="top "/>
<enumerator name="bottom edges" code="bott"/>
<enumerator name="vertical centers" code="verc"/>
</enumeration>
</suite>
</dictionary></pre>
<!--googleoff: index -->
</td>
</tr>
</table>
<!-- END WIDE COLUMN -->
<!-- END MAIN CONTENT -->
<table width="680" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><div style="width: 100%; height: 1px; background-color: #919699; margin-top: 5px; margin-bottom: 15px"></div></td>
</tr>
<tr>
<td align="center"><br/>
<table border="0" cellpadding="0" cellspacing="0" class="graybox">
<tr>
<th>Did this document help you?</th>
</tr>
<tr>
<td>
<div style="margin-bottom: 8px"><a href="http://developer.apple.com/feedback/?v=1&url=/samplecode/Sketch-112/listing73.html%3Fid%3DDTS10003720-1.0&media=dvd" target=_new>Yes</a>: Tell us what works for you.</div>
<div style="margin-bottom: 8px"><a href="http://developer.apple.com/feedback/?v=2&url=/samplecode/Sketch-112/listing73.html%3Fid%3DDTS10003720-1.0&media=dvd" target=_new>It’s good, but:</a> Report typos, inaccuracies, and so forth.</div>
<div><a href="http://developer.apple.com/feedback/?v=3&url=/samplecode/Sketch-112/listing73.html%3Fid%3DDTS10003720-1.0&media=dvd" target=_new>It wasn’t helpful</a>: Tell us what would have helped.</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- START BOTTOM APPLE NAVIGATION -->
<!--#include virtual="/includes/footer"-->
<!-- END BOTTOM APPLE NAVIGATION -->
<!-- START CENTER CLOSE -->
</center>
<!-- END CENTER CLOSE -->
</body>
</html>