zplCore.comzplCore.com

SwissCross

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

SignatureDescription
# 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

PropertyTypeDescription
ArmLengthFraction { get; init; }doubleTip-to-tip length of the white cross, relative to cross side (47/83).
ArmWidthFraction { get; init; }doubleWidth of the white cross arms, relative to cross side (15/83).
BlackInsetFraction { get; init; }doubleWhite border around the black square, relative to cross side (6/83).
SizeFraction { get; init; }doubleCross square side / symbol side (7/46), centred on the symbol.
SizeModules { get; init; }doubleCross square side in modules.

Methods

Method SignatureReturnsDescription
# Deconstruct(out double SizeFraction, out double SizeModules, out double BlackInsetFraction, out double ArmWidthFraction, out double ArmLengthFraction)void