Layout Element Properties
Node에서 ASLayoutElementStyle이라는 layout element properties를 제공해주며, ASDisplayNode는 ASLayoutElement를 상속받고 있습니다.
Texture Layout API는 layout을 build하는 과정에 있어서 개발자에게 필요한 layout element properties 를 style property를 접근하여 설정해줍니다. 용도에 따라 Stack형태와 Absolute 및 Basic Layout으로 총 3가지로 나누어집니다. 용도에 맞게 사용하시는 것을 권장드리며, 용도와 상관없이 모든 ASLayoutElement에서 접근가능합니다.
1. Texture Layout Element Properties에서 주로사용하는 property type 정리
더 자세한 설명은 여기를 참고해주세요.
2. Basic Layout Element Properties
3. Stack Layout Element Properties (ASStackLayoutElement)
4. Absolute Layout Element Properties (ASAbsoluteLayoutElement)
Last updated