Package | com.adobe.illustrator |
Class | public class RasterItem |
Inheritance | RasterItem ![]() ![]() ![]() ![]() |
Since : | CS5 |
Property | Defined By | ||
---|---|---|---|
![]() | artworkKnockout : KnockoutState
Is the artwork used to create a knockout. | PageItem | |
bitsPerChannel : Number [read-only]
The number of bits per channel. | RasterItem | ||
![]() | blendingMode : BlendModes
The mode used when compositing an object. | PageItem | |
boundingBox : Array
Dimensions of raster art object regardless of transformations. | RasterItem | ||
channels : Number [read-only]
The number of image channels. | RasterItem | ||
colorants : Object [read-only]
List of colorant names. | RasterItem | ||
colorizedGrayscale : Boolean [read-only]
Is the raster art a colorized grayscale image?
| RasterItem | ||
contentVariable : Object
The content variable bound to this raster art object. | RasterItem | ||
![]() | controlBounds : Array [read-only]
The bounds of the artwork including stroke width and controls. | PageItem | |
![]() | editable : Boolean [read-only]
Can the art item be modified. | PageItem | |
embedded : Boolean
Is the raster art embedded within the illustration?
| RasterItem | ||
file : File [read-only]
The file containing the raster artwork. | RasterItem | ||
![]() | geometricBounds : Array [read-only]
The bounds of the artwork excluding stroke width. | PageItem | |
![]() | height : Number
The height of the art item. | PageItem | |
![]() | hidden : Boolean
Is this artwork item hidden?
| PageItem | |
![]() | hostObjectDelegate : HostObject Getter for the delegate | CSHostObject | |
imageColorSpace : ImageColorSpace [read-only]
The color space of the raster image. | RasterItem | ||
![]() | isIsolated : Boolean
Is the artwork isolated. | PageItem | |
![]() | layer : Layer [read-only]
The layer to which this artwork belongs. | PageItem | |
![]() | left : Number
The left position of the art item. | PageItem | |
![]() | locked : Boolean
Is this artwork item locked?
| PageItem | |
matrix : Matrix
The transformation matrix of the raster art object. | RasterItem | ||
![]() | name : String
The item's name. | PageItem | |
![]() | note : String
The note assigned to this artwork item. | PageItem | |
![]() | opacity : Number
The object's opacity (between 0.0 and 100.0) ( 0.0 - 100.0 )
| PageItem | |
overprint : Boolean
Is the raster art overprinting?
| RasterItem | ||
![]() | parent : * [read-only] | IllustratorHostObject | |
![]() | pixelAligned : Boolean
is this artwork item aligned to Pixel Grid?
| PageItem | |
![]() | position : Array
The position of the top left corner of the art item. | PageItem | |
![]() | selected : Boolean
Is this artwork item selected?
| PageItem | |
![]() | sliced : Boolean
Is the art item sliced (default: false)
| PageItem | |
status : RasterLinkState [read-only]
Status of the linked image. | RasterItem | ||
![]() | tags : Tags [read-only]
The collection of tags associated with this page item. | PageItem | |
![]() | top : Number
The top position of the art item. | PageItem | |
transparent : Boolean [read-only]
Is the raster art transparent?
| RasterItem | ||
![]() | uRL : String
The value of the Adobe URL tag assigned to this artwork item. | PageItem | |
![]() | visibilityVariable : Object
The visibility variable bound to this page item. | PageItem | |
![]() | visibleBounds : Array [read-only]
The visible bounds of the artwork including stroke width. | PageItem | |
![]() | width : Number
The width of the art item. | PageItem | |
![]() | wrapInside : Boolean
Should the text frame object be wrapped inside this object?
| PageItem | |
![]() | wrapOffset : Number
Use this offset when wrapping text around this object. | PageItem | |
![]() | wrapped : Boolean
Wrap text frame objects around this object (text frame must be above the object)
| PageItem | |
![]() | zOrderPosition : Number [read-only]
The drawing order of the art within it's group or layer. | PageItem |
Method | Defined By | ||
---|---|---|---|
![]() | bringInPerspective(positionX:Number, positionY:Number, perspectiveGridPlane:PerspectiveGridPlaneType = null):void
Place art object(s)in perspective grid at spedified perspective plane and coordinate
| PageItem | |
Colorize the RasterItem with a CMYK or RGB Color. | RasterItem | ||
![]() |
create a duplicate of the object
| PageItem | |
![]() | filterArgsForHBAPI(args:Array):Array [static]
Function to clean up the argument list and put it into a format that
makes sense for HBAPI. | CSHostObject | |
![]() | filterSingleObjectForHBAPI(value:Object):Object [static]
| CSHostObject | |
![]() | getClassObjectForName(className:String):HostObject [static] This returns a "Class" object, meaning, a HostObject that can be used
to make static function calls or get static properties
| CSHostObject | |
![]() | getSpecialTranslation(className:String, ho:HostObject, expectedReturnType:Class, ownerName:String):* [static] | CSHostObject | |
![]() | hostCall(name:String, expectedReturnType:Class, rawargs:Array):*
Encapsulates a function call to the host
| CSHostObject | |
![]() | hostCallStatic(className:String, methodName:String, expectedReturnType:Class, rawargs:Array):* [static]
Implements a safe call of a static method on the host
| CSHostObject | |
![]() | hostGet(name:String, expectedReturnType:Class):*
Encapsulates a property get to the host
| CSHostObject | |
![]() | hostGetIndex(idx:Object, expectedReturnType:Class):*
Encapsulates a indexed get to the host
| CSHostObject | |
![]() | hostGetStatic(className:String, propertyName:String, expectedReturnType:Class):* [static]
Implements a safe get of a static property on the host
Used by for instance, all the enum implementations. | CSHostObject | |
![]() | hostSet(name:String, rawvalue:*):void
Encapsulates a property set to the host
| CSHostObject | |
![]() | hostSetStatic(className:String, propertyName:String, rawvalue:*):* [static]
Implements a safe set of a static property on the host
| CSHostObject | |
![]() | isDescendedFrom(clz:Class, ancClass:Class):Boolean [static] Efficiently determines whether or not one class descends from
another in inheritance hierarchy- class relationships are cached
by the ClassUtils implementation-
(uses org.as3commons lib to quickly discover class hierarchy. | CSHostObject | |
![]() | move(relativeObject:Object, insertionLocation:ElementPlacement):void
move the object
| PageItem | |
![]() | remove():void
delete the object
| PageItem | |
![]() | replaceDefaultArgs(args:Array, defaultArgs:Array):Array
Function to tidy up arguments prior to call. | CSHostObject | |
![]() | resize(scaleX:Number, scaleY:Number, changePositions:Boolean = true, changeFillPatterns:Boolean = true, changeFillGradients:Boolean = true, changeStrokePattern:Boolean = true, changeLineWidths:Number = 100.0, scaleAbout:Transformation = null):void
Scale art object(s)
| PageItem | |
![]() | rotate(angle:Number, changePositions:Boolean = true, changeFillPatterns:Boolean = true, changeFillGradients:Boolean = true, changeStrokePattern:Boolean = true, rotateAbout:Transformation = null):void
Rotate art object(s)
| PageItem | |
Trace this raster object using default options. | RasterItem | ||
![]() | transform(transformationMatrix:Matrix, changePositions:Boolean = true, changeFillPatterns:Boolean = true, changeFillGradients:Boolean = true, changeStrokePattern:Boolean = true, changeLineWidths:Number = 100.0, transformAbout:Transformation = null):void
Transform art object(s) using a transformation matrix. | PageItem | |
![]() | translate(deltaX:Number = 0.0, deltaY:Number = 0.0, transformObjects:Boolean = true, transformFillPatterns:Boolean = true, transformFillGradients:Boolean = true, transformStrokePattern:Boolean = true):void
Reposition art object(s)
| PageItem | |
![]() | wrapReturnedHostObject(rawObject:Object, expectedReturnType:Class, client:CSHostObject, propertyName:String):* [static]
Method used on static/normal get/ hostcalls
| CSHostObject | |
![]() | zOrder(zOrderCmd:ZOrderMethod):void
Arranges the art relative to other art in the group or layer. | PageItem |
bitsPerChannel | property |
bitsPerChannel:Number
[read-only] Since : | CS5 |
The number of bits per channel.
public function get bitsPerChannel():Number
boundingBox | property |
boundingBox:Array
Since : | CS5 |
Dimensions of raster art object regardless of transformations.
public function get boundingBox():Array
public function set boundingBox(value:Array):void
channels | property |
channels:Number
[read-only] Since : | CS5 |
The number of image channels.
public function get channels():Number
colorants | property |
colorants:Object
[read-only] Since : | CS5 |
List of colorant names.
public function get colorants():Object
colorizedGrayscale | property |
colorizedGrayscale:Boolean
[read-only] Since : | CS5 |
Is the raster art a colorized grayscale image?
public function get colorizedGrayscale():Boolean
contentVariable | property |
contentVariable:Object
Since : | CS5 |
The content variable bound to this raster art object.
public function get contentVariable():Object
public function set contentVariable(value:Object):void
embedded | property |
embedded:Boolean
Since : | CS5 |
Is the raster art embedded within the illustration?
public function get embedded():Boolean
public function set embedded(value:Boolean):void
file | property |
file:File
[read-only] Since : | CS5 |
The file containing the raster artwork.
public function get file():File
imageColorSpace | property |
imageColorSpace:ImageColorSpace
[read-only] Since : | CS5 |
The color space of the raster image.
public function get imageColorSpace():ImageColorSpace
matrix | property |
matrix:Matrix
Since : | CS5 |
The transformation matrix of the raster art object.
public function get matrix():Matrix
public function set matrix(value:Matrix):void
overprint | property |
overprint:Boolean
Since : | CS5 |
Is the raster art overprinting?
public function get overprint():Boolean
public function set overprint(value:Boolean):void
status | property |
status:RasterLinkState
[read-only] Since : | CS5 |
Status of the linked image.
public function get status():RasterLinkState
transparent | property |
transparent:Boolean
[read-only] Since : | CS5 |
Is the raster art transparent?
public function get transparent():Boolean
colorize | () | method |
public function colorize(rasterColor:Color):void
Since : | CS5 |
Colorize the RasterItem with a CMYK or RGB Color.
Parameters
rasterColor:Color — (com.adobe.illustrator.Color) The color to use for coloring the TIFF image.
|
trace | () | method |
public function trace():PluginItem
Since : | CS5 |
Trace this raster object using default options. Reorders this raster to the source art.
ReturnsPluginItem |