Determines the position of a label in the NinePositionsEdgeLabelModel
Namespace: yWorks.yFiles.UI.LabelModelsAssembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)
Syntax
| C# |
|---|
[FlagsAttribute] [ObfuscationAttribute(StripAfterObfuscation = false, Exclude = true, ApplyToMembers = true)] public enum Position |
| Visual Basic |
|---|
<FlagsAttribute> _ <ObfuscationAttribute(StripAfterObfuscation := False, Exclude := True, _ ApplyToMembers := True)> _ Public Enumeration Position |
Members
| Member name | Description | ||
|---|---|---|---|
| SourceAbove | 17 | Encodes a label position at the source above the edge | |
| CenterAbove | 20 | Encodes a label position at the center above the edge | |
| TargetAbove | 18 | Encodes a label position at the target above the edge | |
| SourceCentered | 65 | Encodes a label position at the source of the edge that lies on the edge | |
| CenterCentered | 68 | Encodes a label position at the center of the edge that lies on the edge | |
| TargetCentered | 66 | Encodes a label position at the source of the edge that lies on the edge | |
| SourceBelow | 33 | Encodes a label position at the source below the edge | |
| CenterBelow | 36 | Encodes a label position at the center below the edge | |
| TargetBelow | 34 | Encodes a label position at the target below the edge | |
| AboveCenteredBelowMask | 112 | Mask value for label positions above, below or directly on the edge | |
| SourceCenterTargetMask | 7 | Mask value for label positions at the source, the center or the target of the edge | |
| Source | 1 | Encodes a label position above, below or on the edge at the source | |
| Center | 4 | Encodes a label position above, below or on the edge at the center of the edge | |
| Target | 2 | Encodes a label position above, below or on the edge at the target | |
| Above | 16 | Encodes a label position above the edge at the source, center or target | |
| Centered | 64 | Encodes a label position directly on the edge at the source, center or target | |
| Below | 32 | Encodes a label position below the edge at the source, center or target |
Remarks
This enumeration can be used for the factory method CreateParameter(NinePositionsEdgeLabelModel..::..Position).