API Reference
Struct
LabelCandidate
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
- Property LabelPlacementRequest.Candidates
Accepted by parameters 1
- Constructor LabelPlacementRequest.LabelPlacementRequest
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 System.Double
- offsetY System.Double
- horizontalAlignment System.Double = 0
- verticalAlignment System.Double = 0
Inherited Methods
public override Boolean Equals(Object? obj) #Returns:
BooleanInherited from ValueType
Parameters
- obj Object?
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.