Main Content

mlreportgen.chart.GlowEffect Class

Namespace: mlreportgen.chart

Glow effect of a chart shape

Since R2026b

Description

Use an object of the mlreportgen.chart.GlowEffect class to define a glow effect of a shape.

The mlreportgen.chart.GlowEffect class is a handle class.

Class Attributes

HandleCompatible
true
ConstructOnLoad
true

For information on class attributes, see Class Attributes.

Creation

Description

glowEffectObj = mlreportgen.chart.GlowEffect creates a GlowEffect formatting object that is black.

glowEffectObj = mlreportgen.chart.GlowEffect(color) creates a GlowEffect formatting object of the color specified by the color argument.

Input Arguments

expand all

Color of the glow produced by the glow effect, specified as one of the formats in the table.

FormatValue
CSS color nameSpecify a CSS color name. For a list of CSS color names, see https://www.w3.org/wiki/CSS/Properties/color/keywords.
Hexadecimal RGB valueUse the format "#RRGGBB". Use # as the first character and two-digit hexadecimal numbers for the red, green, and blue values. You can use uppercase or lowercase letters.
Decimal RGB color valueUse the format "rgb(r,g,b)", where r, g, and b are comma-separated positive integers that specify the red, green, and blue values, respectively. Each value range must be between 0 and 255.
Decimal percent RGB color valueSpecify a row vector of three positive numerical values. The digits specify the red, green, and blue values. Each value must be between 0 and 1.

This argument sets the Color property.

Example: "red" specifies a red color using a CSS color name.

Example: "#0000ff" specifies a blue color using a hexadecimal RGB value.

Example: "rgb(128,0,128)" specifies a purple color using a decimal RGB color value.

Example: [0 1 0] specifies a green color using a decimal percent RGB color value.

Properties

expand all

Color of the glow effect specified as one of the formats in the table.

FormatValue
CSS color nameSpecify a CSS color name. For a list of CSS color names, see https://www.w3.org/wiki/CSS/Properties/color/keywords.
Hexadecimal RGB valueUse the format "#RRGGBB". Use # as the first character and two-digit hexadecimal numbers for the red, green, and blue values. You can use uppercase or lowercase letters.
Decimal RGB color valueUse the format "rgb(r,g,b)", where r, g, and b are comma-separated positive integers that specify the red, green, and blue values, respectively. Each value range must be between 0 and 255.
Decimal percent RGB color valueSpecify a row vector of three positive numerical values. The digits specify the red, green, and blue values. Each value must be between 0 and 1.

Example: "red" specifies a red color using a CSS color name.

Example: "#0000ff" specifies a blue color using a hexadecimal RGB value.

Example: "rgb(128,0,128)" specifies a purple color using a decimal RGB color value.

Example: [0 1 0] specifies a green color using a decimal percent RGB color value.

Attributes:

GetAccess
public
SetAccess
public
NonCopyable
true

Data Types: char | string

Version History

Introduced in R2026b