# Xui.Core.Actual

Assembly: **Xui.Core** · [C# declarations](index.cs) · [Assembly overview](../index.md)

## Types

- [`enum HapticEffect`](#api-95ffe430c66efbf1)
- [`interface IDispatcher`](#api-e4e2eac5e622f6b6)
- [`interface IHapticFeedback`](#api-da50d00b2846e65b)
- [`interface IImagePipeline`](#api-4b58390ed5a98cbf)
- [`interface IRunLoop`](#api-1f837d8fdcabc57e)
- [`interface IRuntime`](#api-bbd7735f8f83e4cc)
- [`interface IStatusBar`](#api-4d96531ade70a8b4)
- [`interface ITextInputSession`](#api-3f5b54976227e030)
- [`interface ITextMagnifier`](#api-5fc7ef5d8b069231)
- [`interface IVibration`](#api-88e0c1ce21460642)
- [`interface IWindow`](#api-f32685022d3435b2)
- [`enum StatusBarAppearance`](#api-4481bbbd10706624)
- [`class VibrationPattern`](#api-0753848ce609f5ee)
- [`readonly record struct VibrationPoint`](#api-75557b5f5f473b61)

<a id="api-95ffe430c66efbf1"></a>

## `enum HapticEffect`

Tactile presets. The platform chooses the closest available native effect; strength and texture are not guaranteed to be identical across devices.

```csharp
public enum HapticEffect
{
    Tick,
    LightImpact,
    MediumImpact,
    HeavyImpact,
    SoftImpact,
    RigidImpact,
    Success,
    Warning,
    Error,
}
```

<a id="api-35361fe4376ecc00"></a>

### [`HapticEffect.Error`](#api-35361fe4376ecc00)


```csharp
Error
```

Failure or rejection feedback.

On iOS, uses `UINotificationFeedbackGenerator.notificationOccurred(.error)`.



On Android, uses `View.performHapticFeedback(REJECT)` on API 30+. Approximated with `VibrationEffect.EFFECT_DOUBLE_CLICK` on API 29, or `View.performHapticFeedback(LONG_PRESS)` on earlier versions.

<a id="api-3600d414c0f903e4"></a>

### [`HapticEffect.HeavyImpact`](#api-3600d414c0f903e4)


```csharp
HeavyImpact
```

A heavy physical impact.

On iOS, uses `UIImpactFeedbackGenerator.impactOccurred()` with the `heavy` style.



On Android, approximated with `VibrationEffect.EFFECT_HEAVY_CLICK` on API 29+, falling back to `View.performHapticFeedback(LONG_PRESS)` on earlier versions.

<a id="api-50e7e1e193dd5252"></a>

### [`HapticEffect.LightImpact`](#api-50e7e1e193dd5252)


```csharp
LightImpact
```

A light physical impact.

On iOS, uses `UIImpactFeedbackGenerator.impactOccurred()` with the `light` style.



On Android, approximated with `VibrationEffect.EFFECT_TICK` on API 29+, falling back to `View.performHapticFeedback(CLOCK_TICK)` on earlier versions.

<a id="api-c91c3e50c9b50ff3"></a>

### [`HapticEffect.MediumImpact`](#api-c91c3e50c9b50ff3)


```csharp
MediumImpact
```

A medium physical impact.

On iOS, uses `UIImpactFeedbackGenerator.impactOccurred()` with the `medium` style.



On Android, approximated with `VibrationEffect.EFFECT_CLICK` on API 29+, falling back to `View.performHapticFeedback(LONG_PRESS)` on earlier versions.

<a id="api-fbded3770a758751"></a>

### [`HapticEffect.RigidImpact`](#api-fbded3770a758751)


```csharp
RigidImpact
```

A firm, sharp impact.

On iOS, uses `UIImpactFeedbackGenerator.impactOccurred()` with the `rigid` style.



On Android API 31+, approximated with a composed `PRIMITIVE_CLICK` at scale `1.0` when the device supports it. Otherwise uses `VibrationEffect.EFFECT_CLICK` on API 29+, or `View.performHapticFeedback(LONG_PRESS)` on earlier versions.

<a id="api-d3a952483a51edbf"></a>

### [`HapticEffect.SoftImpact`](#api-d3a952483a51edbf)


```csharp
SoftImpact
```

A soft, rounded impact.

On iOS, uses `UIImpactFeedbackGenerator.impactOccurred()` with the `soft` style.



On Android API 31+, approximated with a composed `PRIMITIVE_THUD` at scale `0.5` when the device supports it. Otherwise uses `VibrationEffect.EFFECT_CLICK` on API 29+, or `View.performHapticFeedback(CLOCK_TICK)` on earlier versions.

<a id="api-24c05e68a52d170a"></a>

### [`HapticEffect.Success`](#api-24c05e68a52d170a)


```csharp
Success
```

Positive completion feedback.

On iOS, uses `UINotificationFeedbackGenerator.notificationOccurred(.success)`.



On Android, uses `View.performHapticFeedback(CONFIRM)` on API 30+. Approximated with `VibrationEffect.EFFECT_DOUBLE_CLICK` on API 29, or `View.performHapticFeedback(LONG_PRESS)` on earlier versions.

<a id="api-28aeb2d65e75b651"></a>

### [`HapticEffect.Tick`](#api-28aeb2d65e75b651)


```csharp
Tick
```

A small, crisp ruler or picker tick.

On iOS, uses `UISelectionFeedbackGenerator.selectionChanged()`.



On Android, uses `View.performHapticFeedback(SEGMENT_TICK)` on API 34+, falling back to `CLOCK_TICK` on earlier versions.

<a id="api-96db7545a1f0d896"></a>

### [`HapticEffect.Warning`](#api-96db7545a1f0d896)


```csharp
Warning
```

A cautionary notification.

On iOS, uses `UINotificationFeedbackGenerator.notificationOccurred(.warning)`.



Android has no dedicated warning preset. Approximated with `VibrationEffect.EFFECT_DOUBLE_CLICK` on API 29+, falling back to `View.performHapticFeedback(LONG_PRESS)` on earlier versions.


<a id="api-e4e2eac5e622f6b6"></a>

## `interface IDispatcher`

Represents a platform-specific dispatcher for marshaling callbacks onto the main UI thread. Used by the Xui runtime to ensure thread-safe execution of UI logic. Each platform must provide an implementation that posts callbacks to the appropriate runloop or UI thread.

```csharp
public interface IDispatcher
{
    void Post(Action callback);
}
```

<a id="api-8b618e54e7ef8c45"></a>

### [`void IDispatcher.Post(Action callback)`](#api-8b618e54e7ef8c45)


```csharp
void Post(Action callback);
```

Posts the specified callback to be executed on the dispatcher&#39;s thread (typically the UI thread). Use this method when calling from a background thread and needing to safely transition to the main thread for UI updates or layout work.

- **`callback`** — The action to execute on the dispatcher&#39;s thread.


<a id="api-da50d00b2846e65b"></a>

## `interface IHapticFeedback`

Optional, window-scoped tactile feedback. Resolve through the view&#39;s service provider and call on the UI thread. Desktop runtimes may leave this unregistered. Requests respect native settings and hardware capabilities; playback is not guaranteed.

```csharp
public interface IHapticFeedback
{
    void Prepare(HapticEffect effect);
    void Play(HapticEffect effect);
}
```

<a id="api-53f0d6de06c58890"></a>

### [`void IHapticFeedback.Play(HapticEffect effect)`](#api-53f0d6de06c58890)


```csharp
void Play(HapticEffect effect);
```

Plays a preset using the platform&#39;s closest available effect. Native platforms may coalesce rapid requests; this does not queue delayed pulses.

<a id="api-48be4af49cd03279"></a>

### [`void IHapticFeedback.Prepare(HapticEffect effect)`](#api-48be4af49cd03279)


```csharp
void Prepare(HapticEffect effect);
```

Prepares an effect without vibrating. This is an optional latency hint; [`Xui.Core.Actual.IHapticFeedback.Play(Xui.Core.Actual.HapticEffect)`](../xui-core-actual/index.md#api-53f0d6de06c58890) must work without it. Platforms may ignore the hint.


<a id="api-4b58390ed5a98cbf"></a>

## `interface IImagePipeline`

Platform image pipeline. Caches decoded GPU-resident images by URI and vends [`Xui.Core.Canvas.IImage`](../xui-core-canvas/index.md#api-e987d291ab0f00bb) handles to views via the service-resolution chain. Implement this on each platform window to participate in image loading.

```csharp
public interface IImagePipeline
{
    IImage CreateImage();
}
```

<a id="api-209211c3e3f6c969"></a>

### [`IImage IImagePipeline.CreateImage()`](#api-209211c3e3f6c969)


```csharp
IImage CreateImage();
```

Creates a new [`Xui.Core.Canvas.IImage`](../xui-core-canvas/index.md#api-e987d291ab0f00bb) handle backed by this pipeline&#39;s catalog. The handle is initially empty; populate it with [`Xui.Core.Canvas.IImage.Load(System.String)`](../xui-core-canvas/index.md#api-9abad04c49debcf0) or [`Xui.Core.Canvas.IImage.LoadAsync(System.String)`](../xui-core-canvas/index.md#api-5a791840f9ac7ca4).


<a id="api-1f837d8fdcabc57e"></a>

## `interface IRunLoop`

Represents a platform-specific run loop responsible for driving the application&#39;s lifecycle. Each platform must provide an implementation that enters the appropriate system event loop and continues running until the application exits. The Xui runtime uses this interface to abstract over platform differences in event dispatch and app execution.

```csharp
public interface IRunLoop
{
    int Run();
    void Quit();
}
```

<a id="api-6edabe4e51506fb7"></a>

### [`void IRunLoop.Quit()`](#api-6edabe4e51506fb7)


```csharp
void Quit();
```

Requests that the run loop exit gracefully. On platforms with a definite exit (Win32, macOS) this posts a quit message to the main thread. On platforms without a run loop (iOS, Browser) this is a no-op.

<a id="api-9375af5402526eb8"></a>

### [`int IRunLoop.Run()`](#api-9375af5402526eb8)


```csharp
int Run();
```

Starts the main run loop for the application. This method may block until the application terminates or exits naturally. On platforms with built-in UI event loops (e.g., iOS, Android), this method may return immediately after bootstrapping the application delegate.

**Returns:** The application’s exit code.


<a id="api-bbd7735f8f83e4cc"></a>

## `interface IRuntime`

Provides a platform-specific implementation of the Xui runtime, responsible for creating and connecting abstract application components to their actual counterparts. This interface acts as a bridge between the platform-independent core and the underlying OS-specific APIs (e.g., Win32, Cocoa, UIKit), enabling rendering, windowing, and event dispatch.

```csharp
public interface IRuntime
{
    IDispatcher MainDispatcher { get; }

    Actual.IWindow CreateWindow(Abstract.IWindow windowAbstract, IServiceProvider applicationServices);
    IRunLoop CreateRunloop(Abstract.Application applicationAbstract);
}
```

<a id="api-0f8169368d38990e"></a>

### [`IRunLoop IRuntime.CreateRunloop(Application applicationAbstract)`](#api-0f8169368d38990e)


```csharp
IRunLoop CreateRunloop(Abstract.Application applicationAbstract);
```

Creates a platform-specific run loop associated with the given abstract application. The returned run loop is responsible for managing the application&#39;s execution lifecycle.

- **`applicationAbstract`** — The abstract application instance defined by user code.

**Returns:** A platform-specific run loop instance.

<a id="api-8ea374dbd4537dc2"></a>

### [`IWindow IRuntime.CreateWindow(IWindow windowAbstract, IServiceProvider applicationServices)`](#api-8ea374dbd4537dc2)


```csharp
Actual.IWindow CreateWindow(Abstract.IWindow windowAbstract, IServiceProvider applicationServices);
```

Creates a platform-specific window that is bound to the given abstract window definition.

- **`windowAbstract`** — The abstract window definition provided by user code.

- **`applicationServices`** — The window/application service chain reached after platform services.

**Returns:** A concrete window implementation for the current platform.

<a id="api-7a5609ebfa7a96b0"></a>

### [`IDispatcher IRuntime.MainDispatcher`](#api-7a5609ebfa7a96b0)


```csharp
IDispatcher MainDispatcher { get; }
```

Gets the main thread dispatcher for scheduling UI work. Used to marshal execution onto the main thread for layout, input, and rendering.


<a id="api-4d96531ade70a8b4"></a>

## `interface IStatusBar`

Optional window-scoped control of status-bar text and icons. Resolve through the window or view service provider and use on the UI thread. Desktop runtimes may leave this unregistered. This does not change the bar background or safe area.

```csharp
public interface IStatusBar
{
    StatusBarAppearance Appearance { get; set; }
}
```

<a id="api-64024e36d8af3547"></a>

### [`StatusBarAppearance IStatusBar.Appearance`](#api-64024e36d8af3547)


```csharp
StatusBarAppearance Appearance { get; set; }
```

Gets or sets the requested foreground appearance.


<a id="api-3f5b54976227e030"></a>

## `interface ITextInputSession`

Optional native range editing and selection service, resolved through the window.

```csharp
public interface ITextInputSession
{
    void SetClient(ITextEditingClient? client);
    void CancelSelectionGesture();
}
```

<a id="api-2a64d4594325dbd3"></a>

### [`void ITextInputSession.CancelSelectionGesture()`](#api-2a64d4594325dbd3)


```csharp
void CancelSelectionGesture();
```

Cancels native selection gestures when an ancestor takes pointer capture.

<a id="api-5362532b3d7cfb07"></a>

### [`void ITextInputSession.SetClient(ITextEditingClient? client)`](#api-5362532b3d7cfb07)


```csharp
void SetClient(ITextEditingClient? client);
```

Connects the focused editor, or ends the session on blur. The service owns NativeSelection while connected.


<a id="api-5fc7ef5d8b069231"></a>

## `interface ITextMagnifier`

Optional, window-scoped native precision-selection UI. Resolve through the view&#39;s service provider; absence (or [`Xui.Core.Actual.ITextMagnifier.IsSupported`](../xui-core-actual/index.md#api-8406117f79676600) false) means no native loupe. This presents rendered content only; the focused view owns text and selection.

```csharp
public interface ITextMagnifier
{
    bool IsSupported { get; }

    void Show(Point position, Rect caret);
    void Hide();
}
```

<a id="api-b6fd712d0eb15d0e"></a>

### [`void ITextMagnifier.Hide()`](#api-b6fd712d0eb15d0e)


```csharp
void Hide();
```

Ends the gesture and releases native state. Safe to call repeatedly. Call on release, cancellation, loss of capture/focus, or removal of the owner.

<a id="api-8406117f79676600"></a>

### [`bool ITextMagnifier.IsSupported`](#api-8406117f79676600)


```csharp
bool IsSupported { get; }
```

Whether the running OS supports the native magnifier.

<a id="api-b2e50956de085ca7"></a>

### [`void ITextMagnifier.Show(Point position, Rect caret)`](#api-b2e50956de085ca7)


```csharp
void Show(Point position, Rect caret);
```

Begins or updates a precision-selection gesture. Both the touch position and caret bounds are in logical window coordinates, after all view transforms. Call on the UI thread, only from the focused selection owner.


<a id="api-88e0c1ce21460642"></a>

## `interface IVibration`

Optional, window-scoped vibration playback. Call on the UI thread. Each Play replaces this service&#39;s previous playback; stop when the owning interaction ends. Desktop runtimes need not register this service; emulators provide silent playback.

```csharp
public interface IVibration
{
    bool IsSupported { get; }

    bool SupportsFrequency { get; }

    void Play(nfloat strength, nfloat frequency);
    void Play(scoped ReadOnlySpan<VibrationPoint> points, bool repeat = false);
    void Stop();
}
```

<a id="api-be2a06e4877781ca"></a>

### [`bool IVibration.IsSupported`](#api-be2a06e4877781ca)


```csharp
bool IsSupported { get; }
```

Whether the device can produce vibration.

<a id="api-079803e3e19666f7"></a>

### [`void IVibration.Play(scoped ReadOnlySpan<VibrationPoint> points, bool repeat = false)`](#api-079803e3e19666f7)


```csharp
void Play(scoped ReadOnlySpan<VibrationPoint> points, bool repeat = false);
```

Plays linearly interpolated control points, optionally repeating until Stop. At least two points are required, beginning at zero with strictly increasing times, up to 30 seconds. Implementations copy or consume the span before returning. Native devices may resample points or soften the pattern boundaries.

<a id="api-ac270b521bd21c8b"></a>

### [`void IVibration.Play(NFloat strength, NFloat frequency)`](#api-ac270b521bd21c8b)


```csharp
void Play(nfloat strength, nfloat frequency);
```

Starts or updates continuous vibration until Stop. Strength and frequency must be finite and in [0, 1]. Frequency describes texture, not physical Hz: iOS maps it to sharpness; Android uses envelope sharpness when supported. Android may replace the native effect when updating; otherwise frequency is ignored. Zero strength silences playback. Native settings and interruptions still apply.

<a id="api-8b990a44d261f3a8"></a>

### [`void IVibration.Stop()`](#api-8b990a44d261f3a8)


```csharp
void Stop();
```

Stops playback and cancels pending starts. Safe to call repeatedly.

<a id="api-12be07555ff50de2"></a>

### [`bool IVibration.SupportsFrequency`](#api-12be07555ff50de2)


```csharp
bool SupportsFrequency { get; }
```

Whether normalized frequency/texture control is available.


<a id="api-f32685022d3435b2"></a>

## `interface IWindow`

Represents a platform-specific window implementation used by the Xui runtime. Each platform (e.g., Windows, macOS, iOS) must provide an implementation of this interface to manage window lifecycle, rendering, and input. This interface is typically paired with an abstract window in the Xui framework, and is not used directly by application developers.

```csharp
public interface IWindow : IServiceProvider
{
    Abstract.IWindow? Abstract { get; }

    IServiceProvider NextServiceProvider { get; }

    string Title { get; set; }

    void Show();
    void Close();
    void Invalidate();
    bool RequireKeyboard { get; set; }

    ITextMeasureContext? TextMeasureContext { get; }
}
```

<a id="api-a0c698de31f61420"></a>

### [`IWindow? IWindow.Abstract`](#api-a0c698de31f61420)


```csharp
Abstract.IWindow? Abstract { get; }
```

Gets the abstract window immediately upstream of this actual window. Together with [`Xui.Core.Abstract.IWindow.Actual`](../xui-core-abstract/index.md#api-e79441785c67329c), this forms the bidirectional composed-window chain.

<a id="api-0b885219d600b976"></a>

### [`void IWindow.Close()`](#api-0b885219d600b976)


```csharp
void Close();
```

Closes and destroys the platform window. Called when the abstract window is disposed programmatically rather than through a user-initiated close gesture. The default implementation is a no-op for platforms that do not support imperative close.

<a id="api-35187504f8dc5af6"></a>

### [`void IWindow.Invalidate()`](#api-35187504f8dc5af6)


```csharp
void Invalidate();
```

Requests a redraw of the window surface. The platform should trigger a paint or render callback as soon as possible.

<a id="api-bfe86c92337cc42f"></a>

### [`IServiceProvider IWindow.NextServiceProvider`](#api-bfe86c92337cc42f)


```csharp
IServiceProvider NextServiceProvider { get; }
```

The service provider reached after this actual window. Middleware uses this exclusively for its forward service chain; it must never use its abstract event receiver as a service fallback.

<a id="api-bbfdf4fa1512f878"></a>

### [`bool IWindow.RequireKeyboard`](#api-bbfdf4fa1512f878)


```csharp
bool RequireKeyboard { get; set; }
```

Gets or sets whether the window currently requires keyboard input focus. Platforms may use this to show or hide on-screen keyboards.

<a id="api-cd60712251b3f44d"></a>

### [`void IWindow.Show()`](#api-cd60712251b3f44d)


```csharp
void Show();
```

Displays the window to the user. This may include making it visible, entering the main loop, or attaching it to the application&#39;s view hierarchy, depending on the platform.

<a id="api-95f3de787a074e30"></a>

### [`ITextMeasureContext? IWindow.TextMeasureContext`](#api-95f3de787a074e30)


```csharp
ITextMeasureContext? TextMeasureContext { get; }
```

Gets a lightweight text measure context for hit-testing text positions during pointer events. Returns null on platforms that do not support it.

<a id="api-77e796bbab24b615"></a>

### [`string IWindow.Title`](#api-77e796bbab24b615)


```csharp
string Title { get; set; }
```

Gets or sets the window title, where supported by the platform (e.g., desktop).


<a id="api-4481bbbd10706624"></a>

## `enum StatusBarAppearance`

Foreground appearance of the system status-bar text and icons.

```csharp
public enum StatusBarAppearance
{
    Auto = 0,
    Light = 1,
    Dark = 2,
}
```

<a id="api-3a29122be8c64018"></a>

### [`StatusBarAppearance.Auto`](#api-3a29122be8c64018)


```csharp
Auto = 0
```

Follow platform appearance policy (normally the system light/dark theme), not canvas pixel sampling.

<a id="api-805c6205b39a6557"></a>

### [`StatusBarAppearance.Dark`](#api-805c6205b39a6557)


```csharp
Dark = 2
```

Dark text and icons, suitable for a light background.

<a id="api-1c508f52a257dc13"></a>

### [`StatusBarAppearance.Light`](#api-1c508f52a257dc13)


```csharp
Light = 1
```

Light text and icons, suitable for a dark background.


<a id="api-0753848ce609f5ee"></a>

## `class VibrationPattern`

Shared validation and interpolation for native vibration backends.

```csharp
public static class VibrationPattern
{
    public static readonly TimeSpan MaximumDuration;
    public static void Validate(nfloat strength, nfloat frequency);
    public static void Validate(scoped ReadOnlySpan<VibrationPoint> points);
    public static VibrationPoint Sample(scoped ReadOnlySpan<VibrationPoint> points, TimeSpan time);
}
```

<a id="api-f0d12906474199f3"></a>

### [`TimeSpan VibrationPattern.MaximumDuration`](#api-f0d12906474199f3)


```csharp
public static readonly TimeSpan MaximumDuration;
```

The portable pattern duration limit, matching one iOS continuous event.

<a id="api-f56d1fa2f9cb3e11"></a>

### [`VibrationPoint VibrationPattern.Sample(scoped ReadOnlySpan<VibrationPoint> points, TimeSpan time)`](#api-f56d1fa2f9cb3e11)


```csharp
public static VibrationPoint Sample(scoped ReadOnlySpan<VibrationPoint> points, TimeSpan time);
```

Samples a validated pattern, clamping outside its time range.

<a id="api-a7d8707348838e70"></a>

### [`void VibrationPattern.Validate(scoped ReadOnlySpan<VibrationPoint> points)`](#api-a7d8707348838e70)


```csharp
public static void Validate(scoped ReadOnlySpan<VibrationPoint> points);
```

Validates the point count, times, duration and normalized values.

<a id="api-c4e314978496ddb5"></a>

### [`void VibrationPattern.Validate(NFloat strength, NFloat frequency)`](#api-c4e314978496ddb5)


```csharp
public static void Validate(nfloat strength, nfloat frequency);
```

Validates a normalized strength/frequency pair.


<a id="api-75557b5f5f473b61"></a>

## `readonly record struct VibrationPoint`

A vibration&#39;s normalized strength and frequency/texture at an absolute pattern time.

- **`Time`** — Time from the beginning of the pattern.

- **`Strength`** — Strength in [0, 1].

- **`Frequency`** — Texture in [0, 1], from soft/low to crisp/high; not Hertz.

```csharp
public readonly record struct VibrationPoint(TimeSpan Time, nfloat Strength, nfloat Frequency);
```

<a id="api-1675b5b91e896b5f"></a>

### [`VibrationPoint.VibrationPoint(TimeSpan Time, NFloat Strength, NFloat Frequency)`](#api-1675b5b91e896b5f)


```csharp
public VibrationPoint(TimeSpan Time, nfloat Strength, nfloat Frequency);
```

A vibration&#39;s normalized strength and frequency/texture at an absolute pattern time.

- **`Time`** — Time from the beginning of the pattern.

- **`Strength`** — Strength in [0, 1].

- **`Frequency`** — Texture in [0, 1], from soft/low to crisp/high; not Hertz.

<a id="api-abb588fc97c3b982"></a>

### [`NFloat VibrationPoint.Frequency`](#api-abb588fc97c3b982)


```csharp
public nfloat Frequency { get; init; }
```

Texture in [0, 1], from soft/low to crisp/high; not Hertz.

<a id="api-6f2c5907661602bb"></a>

### [`NFloat VibrationPoint.Strength`](#api-6f2c5907661602bb)


```csharp
public nfloat Strength { get; init; }
```

Strength in [0, 1].

<a id="api-a2a684b53e22596a"></a>

### [`TimeSpan VibrationPoint.Time`](#api-a2a684b53e22596a)


```csharp
public TimeSpan Time { get; init; }
```

Time from the beginning of the pattern.

