Nutrient Web SDK

v0.0.0-dev

ReferenceNutrientViewerOptionsRESIZE_ANCHOR_RADIUS

Function RESIZE_ANCHOR_RADIUS

Receives a Geometry.Size object with the current viewport dimensions (width and height) and returns the radius of the selection resize / modification anchors in px.

The default implementation will increase the anchor radius on small device.

Function
Type Signature
RESIZE_ANCHOR_RADIUS(viewportSize: NutrientViewer.Geometry.Size): number