Skip to content
ChartForgeX
Struct

LabelCandidate

ChartForgeX.Rendering

Namespace
ChartForgeX.Rendering
Assembly
ChartForgeX
Base
ValueType
Modifiers
sealed

A candidate text-box position relative to a label's anchor, tried in list order.

Inheritance

  • ValueType
  • LabelCandidate

Usage

Explore 2 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

Accepted by parameters 1

Constructors

public LabelCandidate(double offsetX, double offsetY, double horizontalAlignment = 0, double verticalAlignment = 0) #

Creates a candidate. Alignment fractions are zero at the leading edge and one at the trailing edge.

Parameters

offsetX double required
offsetY double required
horizontalAlignment double = 0 optional
verticalAlignment double = 0 optional

Properties

public double OffsetX { get; } #

Gets the horizontal offset in logical pixels.

public double OffsetY { get; } #

Gets the vertical offset in logical pixels.

public double HorizontalAlignment { get; } #

Gets the horizontal alignment fraction.

public double VerticalAlignment { get; } #

Gets the vertical alignment fraction.