Referenceendpoint

<endpoint>

<endpoint> is a Graphical component that renders a point that can be switched from open to closed (or unfilled to filled).

Attributes and Properties

Attributes for <endpoint>
AttributeTypeValues
applyStyleToLabel = "…"boolean"true" "false"
coords = "…"coords
displayDecimals = "…"integer
displayDigits = "…"integer
displaySmallAsZero = "…"number
draggable = "…"boolean"true" "false"
hideOffGraphIndicator = "…"boolean"true" "false"
labelIsName = "…"boolean"true" "false"
labelPosition = "…"text"upperright" "upperleft" "lowerright" "lowerleft" "top" "bottom" "left" "right"
layer = "…"integer
open = "…"boolean"true" "false"
padZeros = "…"boolean"true" "false"
showCoordsWhenDragging = "…"boolean"true" "false"
switchable = "…"boolean"true" "false"
x = "…"math
xs = "…"[ math ]
y = "…"math
z = "…"math
Props for <endpoint name="e">
PropertyType
$e.applyStyleToLabelboolean
$e.backgroundColortext
$e.constraintUsedboolean
$e.coordscoords
$e.disabledboolean
$e.displayDecimalsinteger
$e.displayDigitsinteger
$e.displaySmallAsZeronumber
$e.draggableboolean
$e.fixedboolean
$e.fixLocationboolean
$e.hiddenboolean
$e.hideOffGraphIndicatorboolean
$e.labellabel
$e.labelIsNameboolean
$e.labelPositiontext
$e.latexlatex
$e.layerinteger
$e.numDimensionsnumber
$e.numDimensionsForConstraintsnumber
$e.openboolean
$e.padZerosboolean
$e.showCoordsWhenDraggingboolean
$e.styleDescriptiontext
$e.styleDescriptionWithNountext
$e.switchableboolean
$e.textColortext
$e.textStyleDescriptiontext
$e.valuecoords
$e.xmath
$e.xs[ math ]
$e.ymath
$e.zmath

Example: Default endpoint

The default <endpoint> behaves like a <point>. An <endpoint> also accepts all <point> attributes.


Example: An <endpoint> shares <point> attributes

All attributes and properties that are available to points are also available to endpoints. Endpoints can also have the same <constraints> as points.


Attribute Example: switchable

The switchable attribute allows the user to click the <endpoint> to switch between an open and a closed point.


Attribute Example: open

The open attribute renders an <endpoint> that is open.


Property Example: <point> properties

The properties of points are accessible to endpoints as well. A few selected properties are illustrated.


Property Example: attributes as properties

Both attributes of <endpoint> are also accessible as properties.