-
Method Summary
Given a total size of the border composite and it's wrapped component, how large would the actual wrapped
component be?
How large is the offset from the top left corner of the border to the top left corner of the wrapped component?
-
Method Details
-
getWrappedComponentTopLeftOffset
How large is the offset from the top left corner of the border to the top left corner of the wrapped component?
- Returns:
- Position of the wrapped components top left position, relative to the top left corner of the border
-
getWrappedComponentSize
Given a total size of the border composite and it's wrapped component, how large would the actual wrapped
component be?
- Parameters:
borderSize
- Size to calculate for, this should be the total size of the border and the inner component
- Returns:
- Size of the inner component if the total size of inner + border is borderSize