-
Notifications
You must be signed in to change notification settings - Fork 3
"circle"
mkraska edited this page Apr 2, 2024
·
12 revisions
[ "circle", "name", [xc, yc], [xp,yp] , angle, state ]
[ "circle", "name", [xc, yc], radius , angle, state ]
Circle with centerpoint, point on perimeter or radius, angle for dimension. The annotation for the radius is only drawn if name is not empty. If the angle is negative, the dimension is inside the circle, otherwise it is outside.
-
"name"
label text for the radial dimension -
[xc, yc]
center point -
[xp,yp]
point on perimeter (alternative to specification of radius) -
radius
radius -
angle
(optional, default:0
) angular position of the radial dimension glyph (arrow with label). If negative, the arrow is inside the circle, otherwise it is outside. -
state
(optionl, default:"locked"
) state, can be set to-
"show"
initally activated, can be deactivated by doubleclick -
"hide"
initally deactivated, can be activated by doubleclick -
"HIDE"
locked in deactivated state -
"SHOW"
locked in activated state
-
[
[ "grid", "","", -5,6,-5,5, 50 ],
[ "circle", "", [-2, 2], [-1.5, 1.5] , 45],
[ "circle", "r", [0, 2], 0.8 , -45, "hide" ],
[ "circle", "r_0", [2, 2], 0.4 ],
[ "circle", "", [4, 2], 0.4 ],
[ "point", "C", [0,2]],
[ "point", "C", [-2,2]],
[ "point", "P", [-1.5, 1.5], 15]
]
-
c.center
the center point of the circle
In order to try code snippets in jsfiddle,
- copy the code from the wiki page to the clipboard
- follow the link for the JSXGraph version you want to try
- Replace the code in the HTML section (contents of
<p hidden id="init">
) with the content of the clipboard