Class PosCombine
Represents a position that is a combination of two other positions.
public record PosCombine : Pos, IEquatable<Pos>, IEquatable<PosCombine>
- Inheritance
-
PosCombine
- Implements
- Inherited Members
Remarks
This is a low-level API that is typically used internally by the layout system. Use the various static methods on the Pos class to create Pos objects instead.
Constructors
- PosCombine(AddOrSubtract, Pos, Pos)
Represents a position that is a combination of two other positions.
Properties
- Add
Gets whether the two positions are added or subtracted.
- Left
Gets the left position.
- Right
Gets the right position.
Methods
- HasInner<TPos>(out TPos)
Searches nested Pos objects for the specified type. Override in subclasses that contain other Pos objects to enable Has<TPos>(out TPos) to find nested types.