Class: Wx::GradientType

Inherits:
Enum
  • Object
show all
Defined in:
lib/wx/doc/gen/graphics_object.rb,
lib/wx/doc/gen/graphics_context.rb

Overview

Used to indicate what kind of gradient is set in a GraphicsPenInfo object.

Requires:

  • USE_GRAPHICS_CONTEXT

Constant Summary collapse

GRADIENT_NONE =

No gradient.

Wx::GradientType.new(0)
GRADIENT_LINEAR =

A gradient that blends two or more colors along an axis.

Wx::GradientType.new(1)
GRADIENT_RADIAL =

A gradient that blends two or more colors across an ellipse.

Wx::GradientType.new(2)