[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Specifies the selected area of the document or layer. Tab=Adobe [Property] Document=Sets a Photoshop document to operate. ARG(Document)|20|(empty)|PhotoshopDocument Bounds=Sets the region to select. Array of x and y coordinates that describe the corners of the selection, in the format [[x1, y1], [x2,y2],[x3, y3], [x4,y4]]. ARG(double[][])|5| SelectionType=Sets the method for combining the new selection with the existing selection. ARG(PsSelectionType)|14|0|psReplaceSelection,psExtendSelection,psDiminishSelection,psIntersectSelection Feather=Sets the feather amount. ARG(double)|7|0 AntiAlias=Sets the value indicating whether to use anti-aliasing. ARG(bool)|14|0|True,False By=Sets the amount to contract or expand the selection. ARG(double)|7|0 Merge=Sets the value indicating whether to include all visible layers. If false, copies only from the current layer. ARG(bool)|14|1|True,False Tolerance=Sets the tolerance range [0..255]. ARG(int)|1|0 [Methods] doSelectAll=Selects the entire layer. ARG()|1|0 *doClear=Clears the selection and does not copy it to the clipboard. ARG()|1|0 *doContract=Contracts the selection. ARG(double by)|1|0 *doCopy=Copies the selection to the clipboard. ARG(bool merge)|1|0 *doCut=Cuts the current selection to the clipboard. ARG()|1|0 *doDeselect=Deselects the current selection. ARG()|1|0 *doExpand=Expands the selection. ARG(double by)|1|0 *doGrow=Grows the selection to include all adjacent pixels falling within the specified tolerance range. ARG(int tolerance, bool antialias)|1|0 *doFeather=Feathers the edges of the selection. ARG(double feather)|1|0 *doInvert=Inverts the selection. ARG()|1|0 *doMakeWorkPath=Makes this selection item the workpath for this document. ARG(int tolerance)|1|0 *doSelect=Selects the specified region. ARG(double[] bounds, PsSelectionType selectiontype, double feather, bool antialias)|1|0 *doSimilar=Grows the selection to include pixels throughout the image falling within the tolerance range. ARG(int tolerance, bool antialias)|1|0 *.Bounds=Returns the bounding rectangle of the entire selection. ARG(object)|3|0 *Solid=Returns the value indicating whether that the bounding rectangle is a solid rectangle. ARG(bool)|3|104 Document=Defines a Photoshop document to operate. ARG(Document)|4|0 *antiAlias=Defines the value indicating whether to use anti-aliasing. ARG(bool)|4|104 *bounds=Defines the area to select. ARG(double[][])|4|13 *by=Defines the amount to contract or expand the selection. ARG(double)|4|7 *feather=Defines the feather amount. ARG(double)|4|7 *merge=Defines the value indicating whether to include all visible layers. ARG(bool)|4|104 *selectionType=Defines the method for combining the new selection with the existing selection. ARG(PsSelectionType)|4|0 *tolerance=Defines the tolerance range. ARG(int)|4|1