FoxitPDFSDKforWeb v12.0.0
Foxit PDF SDK for Web
FakeLineDimensionAnnotation Class Reference

Inherits FakeLineAnnotation.

Public Member Functions

 setLeaderLengthFromDevicePointer (devicePoint:{ x:number;y:number })
 

Protected Member Functions

 calculateLeaderLinePoints ()
 

Detailed Description

Fake line-dimension annotation used during Distance creation. Supports ShapeControl leader-anchor display and mouse-follow LL updates.

Member Function Documentation

◆ calculateLeaderLinePoints()

FakeLineDimensionAnnotation::calculateLeaderLinePoints ( )
inlineprotected

Shared perpendicular offset for both ends (device-space math, then back to PDF). Leader (+ extend) is kept inside the page device bounds so drawing does not spill out.

◆ setLeaderLengthFromDevicePointer()

FakeLineDimensionAnnotation::setLeaderLengthFromDevicePointer (   devicePoint:{ x:number;y:number })
inline

Update LL from a device-space pointer (mouse follow).

Foxit Software Corporation Logo
@2026 Foxit Software Incorporated. All rights reserved.