Communicator.Settings.HiddenLineSettings

 HiddenLineSettings

This class controls settings used in hidden line rendering. Settings get applied when View.setDrawMode(DrawMode.HiddenLine) is called.

Methods

getBackgroundColor

  • getBackgroundColor(): Color
  • Gets the Color used for the background in hidden line rendering.

    Returns Color

    The background color used for hidden line.

getObscuredLineColor

  • getObscuredLineColor(): Color
  • Returns the Color used for rendering obscured lines.

    Returns Color

    The color used for obscured lines.

getObscuredLineOpacity

  • getObscuredLineOpacity(): number
  • Returns the opacity used for rendering obscured lines.

    Returns number

    The opacity used for obscured lines.

getObscuredLineTransparency    [deprecated]

  • getObscuredLineTransparency(): number

getVisibleLineColor

  • getVisibleLineColor(): Color
  • Gets the Color used for rendering visible lines.

    Returns Color

    The color used for visible lines.

getVisibleLineOpacity

  • getVisibleLineOpacity(): number
  • Gets the opacity used for rendering visible lines.

    Returns number

    The opacity used for visible lines.

getVisibleLineTransparency    [deprecated]

  • getVisibleLineTransparency(): number

setBackgroundColor

  • setBackgroundColor(color: Color): void
  • Sets the Color used for the background in hidden line rendering.

    Parameters

    • color: Color

      The background color used for hidden line.

    Returns void

setObscuredLineColor

  • setObscuredLineColor(color: Color): void
  • Sets the Color used for rendering obscured lines.

    Parameters

    • color: Color

      The color used for obscured lines.

    Returns void

setObscuredLineOpacity

  • setObscuredLineOpacity(opacity: number): void
  • Sets the opacity used for rendering obscured lines.

    Parameters

    • opacity: number

      The opacity used for obscured lines.

    Returns void

setObscuredLineTransparency    [deprecated]

  • setObscuredLineTransparency(transparency: number): void

setVisibleLineColor

  • setVisibleLineColor(color: Color): void
  • Sets the Color used for rendering visible lines.

    Parameters

    • color: Color

      The color used for visible lines.

    Returns void

setVisibleLineOpacity

  • setVisibleLineOpacity(opacity: number): void
  • Sets the opacity used for rendering visible lines.

    Parameters

    • opacity: number

      The opacity used for visible lines.

    Returns void

setVisibleLineTransparency    [deprecated]

  • setVisibleLineTransparency(transparency: number): void