# AlignmentUtils

> Static class containing utility methods for aligning visual elements.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public static class AlignmentUtils
```

## Static Methods

| Method                                                                                                                  | Description                                                                                      |
| ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| [CeilToPanelPixelSize](/engine/6000.6/script-reference/unityengine/uielements/alignmentutils/ceiltopanelpixelsize.md)   | Return the next larger value representing a whole number of pixels on the target when rendered.  |
| [FloorToPanelPixelSize](/engine/6000.6/script-reference/unityengine/uielements/alignmentutils/floortopanelpixelsize.md) | Return the next smaller value representing a whole number of pixels on the target when rendered. |
| [RoundToPanelPixelSize](/engine/6000.6/script-reference/unityengine/uielements/alignmentutils/roundtopanelpixelsize.md) | Round the value so that it is a whole number of pixels on the target when rendered.              |
