Table of Contents

TTMSFNCWXQRCodePositionColor Class

Holds the colors of the three position-detection patterns (the large squares in the corners) of a QR code. Each pattern is split into an outer ring and an inner square that can be colored independently.

API unit family: TMSFNCWXQRCode Inherits from: TPersistent

Syntax

TTMSFNCWXQRCodePositionColor = class(TPersistent)

Properties

Name Description
BottomRightInnerColor Color of the inner square of the bottom-right position pattern.
BottomRightOuterColor Color of the outer ring of the bottom-right position pattern.
TopLeftInnerColor Color of the inner square of the top-left position pattern.
TopLeftOuterColor Color of the outer ring of the top-left position pattern.
TopRightInnerColor Color of the inner square of the top-right position pattern.
TopRightOuterColor Color of the outer ring of the top-right position pattern.

Events

Name Description
OnChanged Occurs whenever one of the corner colors changes, allowing the owner to re-render the QR code.