API Reference
Class
VisualCanvasHeroTitleLayer
Large multi-color headline layer.
Inheritance
- VisualCanvasLayer
- VisualCanvasHeroTitleLayer
Constructors
public VisualCanvasHeroTitleLayer(Double x, Double y, Double width, Double fontSize, IEnumerable<VisualCanvasTextRun> runs) #Initializes a large multi-run hero title layer.
Parameters
- x System.Double
- The title X coordinate.
- y System.Double
- The title Y coordinate.
- width System.Double
- The title width used for alignment.
- fontSize System.Double
- The title font size.
- runs System.Collections.Generic.IEnumerable<ChartForgeX.Composition.VisualCanvasTextRun>
- The colored text runs.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public IReadOnlyList<VisualCanvasTextRun> Runs { get; } #Gets the colored title runs.
public Double FontSize { get; set; } #Gets or sets the largest title font size; SVG and PNG output shrink the title when its runs are wider than VisualCanvasLayer.Width.
public TextAlignment Alignment { get; set; } #Gets or sets the title alignment.
Inherited Properties
public Double X { get; set; } #Inherited from VisualCanvasLayer
public Double Y { get; set; } #Inherited from VisualCanvasLayer
public Double Width { get; set; } #Inherited from VisualCanvasLayer
public Double Height { get; set; } #Inherited from VisualCanvasLayer
public ChartRect Bounds { get; } #Inherited from VisualCanvasLayer