EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificações Página 161

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 160
CHAPTER 4: User-Interface Tools Graphic customization objects 161
ScriptUIBrush object
A helper object that encapsulates the qualities of a brush used to paint fill into a path in a control. Create
with the newBrush()
method of the ScriptUIGraphics object.
X Used as a value of backgroundColor and disabledBackgroundColor.
X Passed as an argument to fillPath().
ScriptUIBrush object properties
The object contains the following properties:
ScriptUIFont object
A helper object that encapsulates the qualities of a font used to draw text into a control. Create with the
newFont()
method of the ScriptUI class.
X Used as a value of font.
X Passed as an argument to drawString() and measureString().
ScriptUIFont object properties
The object contains the following properties:
color
Array of Number The paint color to use when the type is SOLID_COLOR. An array in the
form
[R, B, G, A] specifying the red, green, blue values of the color
and the opacity (alpha channel) value as numbers in the range
[0.0...1.0].
An opacity of 0 is fully transparent, and an opacity of 1 is fully opaque.
theme
String The name of a color theme to use as a painting texture when the type is
THEME_COLOR. Theme colors are defined by the host application.
type
Number The brush type, one of these constants:
ScriptUIGraphics.BrushType.SOLID_COLOR
ScriptUIGraphics.BrushType.THEME_COLOR
family
String The font family name.
name
String The complete font name, consisting of the family and style, if specified.
size
Number The font point size.
Vista de página 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 303 304

Comentários a estes Manuais

Sem comentários