Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Brush

Describes how an arbitrary geometry is filled.

Hierarchy

Implements

  • Serializable

Index

Constructors

Protected constructor

  • new Brush(opacity: number): Brush
  • Parameters

    • opacity: number

      The opacity

    Returns Brush

Properties

opacity

opacity: number

Gets or sets the opacity of the brush. Valid values are in the range of [0..1], where 0 is completely translucent and 1 is opaque.

Private type

type: BrushType

Accessors

Static aliceBlue

Static antiqueWhite

Static aqua

Static aquamarine

Static azure

Static beige

Static bisque

Static black

Static blanchedAlmond

Static blue

Static blueViolet

Static brown

Static burlyWood

Static cadetBlue

Static chartreuse

Static chocolate

Static coral

Static cornflowerBlue

Static cornsilk

Static crimson

Static cyan

Static darkBlue

Static darkCyan

Static darkGoldenRod

Static darkGray

Static darkGreen

Static darkKhaki

Static darkMagenta

Static darkOliveGreen

Static darkOrange

Static darkOrchid

Static darkRed

Static darkSalmon

Static darkSeaGreen

Static darkSlateBlue

Static darkSlateGray

Static darkTurquoise

Static darkViolet

Static deepPink

Static deepSkyBlue

Static dimGray

Static dodgerBlue

Static fireBrick

Static floralWhite

Static forestGreen

Static fuchsia

Static gainsboro

Static ghostWhite

Static gold

Static goldenRod

Static gray

Static green

Static greenYellow

Static honeyDew

Static hotPink

Static indianRed

Static indigo

Static ivory

Static khaki

Static lavender

Static lavenderBlush

Static lawnGreen

Static lemonChiffon

Static lightBlue

Static lightCoral

Static lightCyan

Static lightGoldenRodYellow

Static lightGray

Static lightGreen

Static lightPink

Static lightSalmon

Static lightSeaGreen

Static lightSkyBlue

Static lightSlateGray

Static lightSteelBlue

Static lightYellow

Static lime

Static limeGreen

Static linen

Static magenta

Static maroon

Static mediumAquamarine

Static mediumBlue

Static mediumOrchid

Static mediumPurple

Static mediumSeaGreen

Static mediumSlateBlue

Static mediumSpringGreen

Static mediumTurquoise

Static mediumVioletRed

Static midnightBlue

Static mintCream

Static mistyRose

Static moccasin

Static navajoWhite

Static navy

Static oldLace

Static olive

Static oliveDrab

Static orange

Static orangeRed

Static orchid

Static paleGoldenRod

Static paleGreen

Static paleTurquoise

Static paleVioletRed

Static papayaWhip

Static peachPuff

Static peru

Static pink

Static plum

Static powderBlue

Static purple

Static red

Static rosyBrown

Static royalBlue

Static saddleBrown

Static salmon

Static sandyBrown

Static seaGreen

Static seaShell

Static sienna

Static silver

Static skyBlue

Static slateBlue

Static slateGray

Static snow

Static springGreen

Static steelBlue

Static tan

Static teal

Static thistle

Static tomato

Static transparent

Static turquoise

Static violet

Static wheat

Static white

Static whiteSmoke

Static yellow

Static yellowGreen

Methods

Private serialize

  • serialize(target: BufferWriter): void
  • Parameters

    • target: BufferWriter

    Returns void

Static create

  • Parameters

    Returns Brush

Generated using TypeDoc