# VisualSemanticRegion

A descriptive semantic extent; bounds are not an exact hit-test shape.

 Class  

`ChartForgeX.Rendering`

**Namespace**

`ChartForgeX.Rendering`

**Assembly**

`ChartForgeX`

**Source**

[PreparedVisual.cs:32](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/PreparedVisual.cs#L32)

**Modifiers**

sealed

A descriptive semantic extent; bounds are not an exact hit-test shape.

## Inheritance

- object
- VisualSemanticRegion

## Usage

 Explore 1 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [PreparedVisual.Regions](/api/chartforgex-rendering-preparedvisual/#property-regions)

 Filter members   

    Show inherited   

 

## Constructors

 `public VisualSemanticRegion(string id, string role, ChartRect bounds, string? label = null)` [#](#constructor-ctor-string-string-chartforgex-primitives-chartrect-string) 

[PreparedVisual.cs:32](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/PreparedVisual.cs#L32)

Creates an immutable semantic region.

Parameters

**id string required**

**role string required**

**bounds ChartForgeX.Primitives.ChartRect required**

**label string? = null optional**

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public string Id { get; }` [#](#property-id) 

[PreparedVisual.cs:38](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/PreparedVisual.cs#L38)

Gets the stable source identity.

 `public string Role { get; }` [#](#property-role) 

[PreparedVisual.cs:44](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/PreparedVisual.cs#L44)

Gets the semantic role.

 `public ChartRect Bounds { get; }` [#](#property-bounds) 

[PreparedVisual.cs:46](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/PreparedVisual.cs#L46)

Gets the descriptive bounds in logical units.

 `public string? Label { get; }` [#](#property-label) 

[PreparedVisual.cs:48](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/PreparedVisual.cs#L48)

Gets the text alternative.

<!-- PowerForge markdown artifact sha256:CB23EDA041719FBBD23264D5D1FDC09562B4B7F12473B62CC01CF0C912B6CC05 -->
