ClassDiagramShapeFillDescriptor
Controls the fill color and appearance inside a diagram shape. Use this to set solid colors, gradients, or patterns for the shape's interior background. Example: "#E74C3C" for a solid red fill, or configure gradients for visual depth and dimension.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class DiagramShapeFillDescriptor : DataVizChildComponentDescriptor
Inheritance: objectDataVizChildComponentDescriptorDiagramShapeFillDescriptor
Constructors
DiagramShapeFillDescriptor()
Declaration
public DiagramShapeFillDescriptor()
Properties
Color
Sets the background fill color of the shape. Use any valid CSS color value such as hex codes (e.g., "#FF5733"), color names (e.g., "red"), or rgba values. This property defines the interior color of the shape, distinct from the border color set by Color.
Opacity
Sets the transparency level of the shape's fill color. Accepts values from 0 (fully transparent) to 1 (fully opaque). For example, 0.5 creates a 50% transparent fill. Opacity affects only the fill color, not the stroke or other shape elements.
Methods
Serialize()
Declaration
public Dictionary<string, object> Serialize()
Returns