# TVisibleBufferInfo

Represents the visual properties and information about an indicator buffer.

## Properties

| Property    | Type                                                                            | Description                                 |
| ----------- | ------------------------------------------------------------------------------- | ------------------------------------------- |
| `buffer`    | [TIndexBuffer](https://fto-2.gitbook.io/fto-indicators-docs/types/index-buffer) | The buffer associated with the visible info |
| `name`      | string                                                                          | The name of the buffer                      |
| `paintFrom` | number                                                                          | The starting point for painting the buffer  |

## Constructor

### `constructor(visibleBufferInfo: IVisibleIndexBuffer)`

Initializes a new instance of the `TVisibleBufferInfo` class.

* **Parameters:**
  * `visibleBufferInfo`: An object implementing `IVisibleIndexBuffer` interface.

## Example Usage

```typescript
// Create a new visible buffer info
const visibleBufferInfo = new TVisibleBufferInfo({
  buffer: someBuffer,
  name: "ExampleBuffer",
  PaintFrom: 0,
});

// Access properties
console.log(`Buffer Name: ${visibleBufferInfo.name}`);
console.log(`Paint From: ${visibleBufferInfo.paintFrom}`);

// Set buffer visibility using the API
api.SetIndexVisibility(0, true);
```
