SvgTexture
Index
Constructors
Methods
Constructors
constructor
Parameters
_api: BimCoreApi
_size: number
Returns SvgTexture
Methods
renderPageOfPdf
Parameters
bimPdf: BimPdf
Returns Promise<void>
publicrenderPartOfPDFToRef
Parameters
texture: DynamicTexture
bimPdf: BimPdf
The PDF to be rendered.
plane: BimDrawingPlane
The drawing will be rendered on.
frustumCornerPointsOnZoomPlane: Vector3[]
The corner points of the camera view frustrum on the mathematical plane of the BimDrawingPlane.
Returns Promise<void>
publicrenderSvgToRef
Type parameters
- T: Texture
Parameters
svg: SvgContent
texture: T
Returns Promise<T>
Texture that the PDF will be rendered to.