Table of Contents

TTMSFNCArrowOptionsCustom Class

Base class that holds the appearance settings for the arrow shape, such as its colors, border, margin and head dimensions.

API unit family: TMSFNCWidgetArrow Inherits from: TPersistent

Syntax

TTMSFNCArrowOptionsCustom = class(TPersistent)

Remarks

Changing any property raises OnChange so the owning control can repaint. Use the published descendant for design-time editing.

Properties

Name Description
Border Stroke used to draw the outline of the arrow shape.
ColorAtZero Color used when the value is zero and the arrow points straight ahead.
ColorFrom Color used when the value points fully to one side (maximum start position).
ColorTo Color used when the value points fully to the other side (maximum end position).
HeadLength Length of the arrow head measured along the arrow direction.
HeadWidth Width of the arrow head at its widest point.
Margin Space in pixels reserved between the arrow shape and the edges of the control.
Width Thickness of the arrow line, measured perpendicular to its direction.

Methods

Name Description
SetBorder Copies the border settings from the supplied stroke.
SetColorAtZero Assigns the color used at the zero value and notifies listeners when the value changes.
SetColorFrom Assigns the start color and notifies listeners when the value changes.
SetColorTo Assigns the end color and notifies listeners when the value changes.
SetHeadLength Assigns the length of the arrow head and notifies listeners when the value changes.
SetHeadWidth Assigns the width of the arrow head and notifies listeners when the value changes.
SetMargin Assigns the margin around the arrow and notifies listeners when the value changes.
SetWidth Assigns the thickness of the arrow line and notifies listeners when the value changes.

Events

Name Description
OnChange Occurs when any appearance property changes so the owner can repaint.