ColorSampler

A color sampler in a document.

Methods:

add, remove, removeAll, move

Objects:

SolidColor, String,

Property Listing

Property

Type

Access

Description

color

SolidColor

readonly

The color of the color sampler.

parent

 

readonly

The object's container.

position

UnitPoint

readonly

The position of the color sampler in the document.

typename

String

readonly

The class name of the object.

Method Listing

ColorSampler add ()

Adds an element.

undefined move (position:UnitPoint)

Moves the color sampler to a new location.

Parameter

Type

Description

position

UnitPoint

Position of destination (unit value)

undefined remove ()

Deletes this object.

undefined removeAll ()

Deletes all elements.

Return

ColorSampler.add()

ColorSamplers.add()

ColorSamplers.[]()

ColorSamplers.getByName()