public record SwissCross
Overlay description of the Swiss cross printed in the centre of a Swiss QR Code (Swiss Payment Standards: 7 × 7 mm on a 46 × 46 mm symbol). All values are fractions of the symbol side (quiet zone excluded) or of the cross side, matching BWIPP's drawing.
Constructors
| Signature | Description |
# SwissCross(double SizeFraction, double SizeModules, double BlackInsetFraction, double ArmWidthFraction, double ArmLengthFraction) | Overlay description of the Swiss cross printed in the centre of a Swiss QR Code (Swiss Payment Standards: 7 × 7 mm on a 46 × 46 mm symbol). All values are fractions of the symbol side (quiet zone excluded) or of the cross side, matching BWIPP's drawing. SizeFraction: Cross square side / symbol side (7/46), centred on the symbol. · SizeModules: Cross square side in modules. · BlackInsetFraction: White border around the black square, relative to cross side (6/83). · ArmWidthFraction: Width of the white cross arms, relative to cross side (15/83). · ArmLengthFraction: Tip-to-tip length of the white cross, relative to cross side (47/83). |
Properties
| Property | Type | Description |
ArmLengthFraction { get; init; } | double | Tip-to-tip length of the white cross, relative to cross side (47/83). |
ArmWidthFraction { get; init; } | double | Width of the white cross arms, relative to cross side (15/83). |
BlackInsetFraction { get; init; } | double | White border around the black square, relative to cross side (6/83). |
SizeFraction { get; init; } | double | Cross square side / symbol side (7/46), centred on the symbol. |
SizeModules { get; init; } | double | Cross square side in modules. |
Methods
| Method Signature | Returns | Description |
# Deconstruct(out double SizeFraction, out double SizeModules, out double BlackInsetFraction, out double ArmWidthFraction, out double ArmLengthFraction) | void | |