---
title: "JointOpacityState | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Class JointOpacityState

##### Index

### Constructors[](#constructors)

[constructor](#constructor)

### Properties[](#properties)

[icon](#icon) [text](#text)

### Methods[](#methods)

[isHidden](#ishidden)

## Constructors[](#constructors-1)

### constructor[](#constructor)

-   new JointOpacityState(  
        prevState: JointOpacityState,  
        increment: number,  
        placedText: boolean,  
        placedIcon: boolean,  
        skipFade?: boolean | null,  
    ): JointOpacityState[](#constructorjointopacitystate)
    
    #### Parameters
    
    -   prevState: JointOpacityState
    -   increment: number
    -   placedText: boolean
    -   placedIcon: boolean
    -   `Optional`skipFade: boolean | null
    
    #### Returns JointOpacityState
    

## Properties[](#properties-1)

### icon[](#icon)

icon: [OpacityState](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.OpacityState/)

### text[](#text)

text: [OpacityState](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.OpacityState/)

## Methods[](#methods-1)

### isHidden[](#ishidden)

-   isHidden(): boolean[](#ishidden-1)
    
    #### Returns boolean
