Struct
VisualCanvasPlacement
ChartForgeX.Composition
Describes reusable anchor-based placement inside a canvas or another rectangular region.
Inheritance
- ValueType
- VisualCanvasPlacement
Usage
Explore 36 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Method VisualCanvasPlacement.At
Accepted by parameters 35
- Method ImageComposition.DrawChart
- Method ImageComposition.DrawChartGrid
- Method ImageComposition.DrawImage
- Method ImageComposition.DrawImageBytes
- Method ImageComposition.DrawImageFile
- Method ImageComposition.DrawTopology
- Method ImageComposition.DrawVisualBlock
- Method ImageComposition.DrawVisualCanvas
- Method ImageComposition.DrawVisualGrid
- Extension method VisualCanvas.AddChart
- Extension method VisualCanvas.AddChartGrid
- Extension method VisualCanvas.AddHeroBadgeImageFile
- Extension method VisualCanvas.AddImageBytes
- Extension method VisualCanvas.AddImageFile
- Extension method VisualCanvas.AddRasterImage
- Extension method VisualCanvas.AddTopology
- Extension method VisualCanvas.AddVisualBlock
- Extension method VisualCanvas.AddVisualGrid
- Method VisualCanvas.AddFeatureStrip
- Method VisualCanvas.AddHeroBadge
- Method VisualCanvas.AddHeroTitle
- Method VisualCanvas.AddImage
- Method VisualCanvas.AddInfoTile
- Method VisualCanvas.AddKeyValueBlock
- Method VisualCanvas.AddText
- Method VisualCanvas.ResolvePlacement
- Method VisualsExtensions.AddChart
- Method VisualsExtensions.AddChartGrid
- Method VisualsExtensions.AddHeroBadgeImageFile
- Method VisualsExtensions.AddImageBytes
- Method VisualsExtensions.AddImageFile
- Method VisualsExtensions.AddRasterImage
- Method VisualsExtensions.AddTopology
- Method VisualsExtensions.AddVisualBlock
- Method VisualsExtensions.AddVisualGrid
Constructors
public VisualCanvasPlacement(VisualCanvasAnchor anchor, double offsetX = 0, double offsetY = 0) #Initializes an anchor placement.
Parameters
- anchor ChartForgeX.Composition.VisualCanvasAnchor
- offsetX double = 0
- offsetY double = 0
Methods
public static VisualCanvasPlacement At(VisualCanvasAnchor anchor, double offsetX = 0, double offsetY = 0) #Creates an anchor placement.
Parameters
- anchor ChartForgeX.Composition.VisualCanvasAnchor
- offsetX double = 0
- offsetY double = 0
Returns
VisualCanvasPlacementResolve 2 overloads
public ChartRect Resolve(double containerWidth, double containerHeight, double width, double height) #Resolves this placement inside a zero-origin container.
Parameters
- containerWidth double
- containerHeight double
- width double
- height double
Returns
ChartRectInherited Methods
Properties
public VisualCanvasAnchor Anchor { get; } #Gets the anchor used as the placement reference.
public double OffsetX { get; } #Gets the horizontal offset. For right anchors, positive values inset from the right edge.
public double OffsetY { get; } #Gets the vertical offset. For bottom anchors, positive values inset from the bottom edge.