Interface SyBoundedType<T extends SySpaceType>
- Type Parameters:
T- The coordinate space
- All Superinterfaces:
SyBoundedReadableType<T>, SySizedReadableType<T>, SySizedType<T>
- All Known Subinterfaces:
SyButtonType, SyButtonWithTextType, SyCheckboxType, SyComponentType, SyContainerType, SyGridViewType, SyImageViewType, SyListViewType, SyMenuBarItemType, SyMenuBarType, SyMenuItemAtomType, SyMenuItemSeparatorType, SyMenuItemSubmenuType, SyMenuItemType, SyMenuType, SyScrollBarHorizontalType, SyScrollBarType, SyScrollBarVerticalType, SyScrollPaneType, SyTextAreaType, SyTextFieldType, SyTextMultiLineViewType, SyTextViewType
public interface SyBoundedType<T extends SySpaceType>
extends SyBoundedReadableType<T>, SySizedType<T>
Writable access to information about objects that have bounds.
-
Method Summary
Modifier and TypeMethodDescriptioncom.io7m.jattribute.core.AttributeType<com.io7m.jtensors.core.parameterized.vectors.PVector2I<T>> position()default voidsetPosition(com.io7m.jtensors.core.parameterized.vectors.PVector2I<T> newPosition) Set the position of the object.Methods inherited from interface SyBoundedReadableType
boundingAreaMethods inherited from interface SySizedType
setSize, setSizeUpperLimit, size, sizeUpperLimit
-
Method Details
-
position
com.io7m.jattribute.core.AttributeType<com.io7m.jtensors.core.parameterized.vectors.PVector2I<T>> position()- Specified by:
positionin interfaceSyBoundedReadableType<T extends SySpaceType>- Returns:
- The position of the top-left corner of the object
-
setPosition
Set the position of the object.- Parameters:
newPosition- The new position
-