Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RadialGradientBrush

Describes a brush that fills an area with a radial gradient.

Hierarchy

  • Brush
    • RadialGradientBrush

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

center

center: Point

Gets or sets the relative center in coordinates from [0..1].

color

color: Color

Gets or sets the color at the center of the gradient.

color2

color2: Color

Gets or sets the color at the outer border of the gradient.

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.

Accessors

Private type

  • get type(): "radial"
  • Returns "radial"

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

Static createRadialGradientBrush

  • Returns the radial gradient brush that is defined by the specified description.

    Parameters

    Returns RadialGradientBrush

Generated using TypeDoc