Skip to content

Commit

Permalink
fix(ImageProperty): add types of label outline funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulHax authored and floryst committed Nov 12, 2024
1 parent 18d3a94 commit 1043314
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Sources/Rendering/Core/ImageProperty/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 1043314

Please sign in to comment.