From f53149e73adc4be1486474bc8fc4be11a6932ca4 Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Tue, 12 Nov 2024 11:42:33 -0500 Subject: [PATCH] fix(ImageProperty): add types of label outline funcs --- .../Rendering/Core/ImageProperty/index.d.ts | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Sources/Rendering/Core/ImageProperty/index.d.ts b/Sources/Rendering/Core/ImageProperty/index.d.ts index ded3913e68e..09c01cf2351 100755 --- a/Sources/Rendering/Core/ImageProperty/index.d.ts +++ b/Sources/Rendering/Core/ImageProperty/index.d.ts @@ -94,6 +94,28 @@ export interface vtkImageProperty extends vtkObject { */ getScalarOpacity(idx?: number): vtkPiecewiseFunction; + /** + * Enable label outline rendering. + * @param {Boolean} useLabelOutline + */ + setUseLabelOutline(useLabelOutline: boolean): boolean; + + /** + * Check if label outline rendering. + */ + getUseLabelOutline(): boolean; + + /** + * Set the 0 to 1 opacity of the label outline. + * @param {Number} opacity + */ + setLabelOutlineOpacity(opacity: number): boolean; + + /** + * Get the 0 to 1 opacity of the label outline. + */ + getLabelOutlineOpacity(): number; + /** * gets the label outline thickness */