API Reference
VisualCanvasHeroBadgeLayer
Central logo or icon badge layer.
Inheritance
- Object
- VisualCanvasHeroBadgeLayer
Constructors
VisualCanvasHeroBadgeLayer(System.Double x, System.Double y, System.Double width, System.Double height, System.String symbol) #Initializes a hero badge layer.
Parameters
- x System.Double
- The badge X coordinate.
- y System.Double
- The badge Y coordinate.
- width System.Double
- The badge width.
- height System.Double
- The badge height.
- symbol System.String
- The badge symbol.
Properties
Symbol #Gets or sets the badge symbol.
Accent #Gets or sets the badge accent color.
AccentOverride #Gets or sets an explicit badge accent color. When empty, renderers use the current theme secondary accent.
ImageHref #Gets or sets an SVG-compatible image reference for the badge logo.
ImageRgba #Gets or sets optional source RGBA pixels for PNG output.
ImageSourceWidth #Gets or sets the source bitmap width for PNG output.
ImageSourceHeight #Gets or sets the source bitmap height for PNG output.
ImageFit #Gets or sets how the badge image is placed inside the badge.
ImagePadding #Gets or sets padding between the badge shell and image content.
ImageOpacity #Gets or sets badge image opacity from zero to one.
HasImage #Gets whether the badge has image content for at least one renderer.