-
Notifications
You must be signed in to change notification settings - Fork 0
NinePatchRect AxisStretchModeEnum
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.NinePatchRect.AxisStretchModeEnum |
| Namespace | Electron2D |
| Kind | enum |
| Category | UI and Text |
Identifies how the center segment of a nine-patch axis is expanded.
public enum Electron2D.NinePatchRect.AxisStretchModeEnum : System.IComparable, System.IConvertible, System.IFormattable, System.ISpanFormattableProfile: Electron2D 0.1.0 2D
Status: Supported / Parity verified
Out of profile: no
Godot reference: NinePatchRect.AxisStretchMode
Stretch, tile and tile-fit center-axis expansion modes for NinePatchRect.
The mode applies only to the middle column or row. Corners keep their destination margin sizes.
This enum is immutable and is safe to use from any thread.
This enum is available since Electron2D 0.1.0 Preview.
Electron2D.NinePatchRect.AxisStretchHorizontalElectron2D.NinePatchRect.AxisStretchVertical
| Member | Kind | Summary |
|---|---|---|
Stretch |
Enum value | Stretches the center segment to fill the destination span. |
Tile |
Enum value | Tiles the center segment using its source size. |
TileFit |
Enum value | Tiles the center segment with adjusted tile size so it fits exactly. |
Kind: Enum value
public const Electron2D.NinePatchRect.AxisStretchModeEnum StretchStretches the center segment to fill the destination span.
Use this value for ordinary scalable panels.
This value is available since Electron2D 0.1.0 Preview.
Electron2D.NinePatchRect.AxisStretchModeEnum
Kind: Enum value
public const Electron2D.NinePatchRect.AxisStretchModeEnum TileTiles the center segment using its source size.
Partial edge tiles use a clipped source segment.
This value is available since Electron2D 0.1.0 Preview.
Electron2D.NinePatchRect.AxisStretchModeEnum
Kind: Enum value
public const Electron2D.NinePatchRect.AxisStretchModeEnum TileFitTiles the center segment with adjusted tile size so it fits exactly.
Use this value to avoid clipped final tiles.
This value is available since Electron2D 0.1.0 Preview.
Electron2D.NinePatchRect.AxisStretchModeEnum
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.