Class RenderSliverHelpers
Namespace: Unity.UIWidgets.rendering
Syntax
public static class RenderSliverHelpers
Methods
_getRightWayUp(SliverConstraints)
Declaration
public static bool _getRightWayUp(SliverConstraints constraints)
Parameters
| Type | Name | Description |
|---|---|---|
| SliverConstraints | constraints |
Returns
| Type | Description |
|---|---|
| Boolean |
applyPaintTransformForBoxChild(RenderSliver, RenderBox, Matrix3)
Declaration
public static void applyPaintTransformForBoxChild(this RenderSliver it, RenderBox child, Matrix3 transform)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderSliver | it | |
| RenderBox | child | |
| Matrix3 | transform |
hitTestBoxChild(RenderSliver, HitTestResult, RenderBox, Single, Single)
Declaration
public static bool hitTestBoxChild(this RenderSliver it, HitTestResult result, RenderBox child, float mainAxisPosition = 0F, float crossAxisPosition = 0F)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderSliver | it | |
| HitTestResult | result | |
| RenderBox | child | |
| Single | mainAxisPosition | |
| Single | crossAxisPosition |
Returns
| Type | Description |
|---|---|
| Boolean |