annotation doublearrow properties
doublearrow annotation graphics object properties.
📄Description

This page documents the visible properties returned by properties for a doublearrow annotation.

Property Action Type and supported values
BeingDeleted Nelson computes this value; graphics operations update it. Type: text scalar or character row vector. Supported values: 'off', 'on'.
BusyAction controls whether an interrupting callback is queued or canceled. Type: text scalar or character row vector. Supported values: 'queue', 'cancel'.
ButtonDownFcn runs when you click the object. Type: callback value. Supported values: [], function handle, character vector, string scalar, or callback cell array.
Children parenting operations update the vector. Type: graphics object handle vector. Supported values: empty vector or child handles.
Color updates rendered output on the next graphics refresh. Type: color value. Supported values: 'red'/'r', 'green'/'g', 'blue'/'b', 'cyan'/'c', 'magenta'/'m', 'yellow'/'y', 'black'/'k', 'white'/'w', RGB triplet [r g b] with values in [0,1], or hexadecimal color '#RRGGBB'/'#RGB'.
ContextMenu assigns the context menu displayed on right-click. Type: graphics object handle scalar. Supported values: empty handle or a context menu object handle.
CreateFcn runs when the object is created. Type: callback value. Supported values: [], function handle, character vector, string scalar, or callback cell array.
DeleteFcn runs when the object is deleted. Type: callback value. Supported values: [], function handle, character vector, string scalar, or callback cell array.
HandleVisibility controls whether the object handle is listed by handle searches. Type: text scalar or character row vector. Supported values: 'on', 'callback', 'off'.
Head1Length changes annotation arrow head length. Type: numeric scalar. Supported values: positive finite scalar in points.
Head1Style changes the first annotation arrow head shape. Type: text keyword. Supported values: 'plain', 'ellipse', 'vback1', 'vback2', 'vback3', 'cback1', 'cback2', 'cback3', 'fourstar', 'rectangle', 'diamond', 'rose', 'hypocycloid', 'astroid', 'deltoid', or 'none'.
Head1Width changes annotation arrow head width. Type: numeric scalar. Supported values: positive finite scalar in points.
Head2Length changes annotation arrow head length. Type: numeric scalar. Supported values: positive finite scalar in points.
Head2Style changes the second annotation arrow head shape. Type: text keyword. Supported values: 'plain', 'ellipse', 'vback1', 'vback2', 'vback3', 'cback1', 'cback2', 'cback3', 'fourstar', 'rectangle', 'diamond', 'rose', 'hypocycloid', 'astroid', 'deltoid', or 'none'.
Head2Width changes annotation arrow head width. Type: numeric scalar. Supported values: positive finite scalar in points.
HitTest controls whether the object can capture mouse clicks. Type: text scalar or character row vector. Supported values: 'on', 'off'.
Interruptible controls whether a running callback can be interrupted. Type: text scalar or character row vector. Supported values: 'on', 'off'.
LineStyle updates rendered output on the next graphics refresh. Type: text scalar or character row vector. Supported values: '-', '--', ':', '-.', 'none'.
LineWidth updates rendered output on the next graphics refresh. Type: finite numeric scalar. Supported values: value greater than or equal to 0.
Parent reparents the object and updates Children on the old and new parents. Type: graphics object handle scalar. Supported values: a valid parent handle for the object class.
PickableParts controls which parts of the object can capture mouse clicks. Type: text scalar or character row vector. Supported values: 'visible', 'all', 'none'.
Position updates annotation location and size; line-like annotations also update X and Y endpoints. Type: four-element numeric vector. Supported values: [x y width height] for shape and textbox annotations, or [xstart ystart dx dy] for line-like annotations.
Selected indicates whether the object is currently selected. Type: text scalar or character row vector. Supported values: 'on', 'off'.
SelectionHighlight controls whether selection handles are drawn when the object is selected. Type: text scalar or character row vector. Supported values: 'on', 'off'.
Tag updates the stored object state. Type: text scalar or character row vector. Supported values: empty text or an object identifier.
Type Nelson computes this value; graphics operations update it. Type: text scalar or character row vector. Supported values: read-only object type name, for example 'figure', 'axes', 'line', or 'scatter'.
Units changes how annotation position values are interpreted and converts Position, X, and Y. Type: text keyword. Supported values: 'normalized', 'inches', 'centimeters', 'characters', 'points', or 'pixels'.
UserData updates the stored object state. Type: Nelson array. Supported values: any Nelson value, including [], numeric arrays, text, cells, structures, or handles.
Visible updates rendered output on the next graphics refresh. Type: text scalar or character row vector. Supported values: 'on', 'off'.
X updates annotation horizontal endpoints and recomputes the annotation position. Type: two-element numeric vector. Supported values: finite normalized or unit-specific x coordinates [xstart xend] for line-like annotations.
Y updates annotation vertical endpoints and recomputes the annotation position. Type: two-element numeric vector. Supported values: finite normalized or unit-specific y coordinates [ystart yend] for line-like annotations.
💡Examples
Create the annotation and list its properties.
f = figure('Visible', 'off');
h = annotation(f, 'doublearrow');
names = properties(h);
close(f)
🔗See Also
annotationpropertiesgetset
Edit this page on GitHub