| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- package ultraviolet
- const DISPLAY_BLOCK = 0
- const DISPLAY_INLINE = 1
- const POSITION_FIXED = 1
- const POSITION_RELATIVE = 2
- const POSITION_ABSOLUTE = 3
- const FLOAT_LEFT = 1
- const FLOAT_RIGHT = 2
- const FLOAT_CLEAR = 3
- type Margin struct {
- Bottom int
- Left int
- Top int
- Right int
- }
- type Padding struct {
- Bottom int
- Left int
- Top int
- Right int
- }
- type Border struct {
- ThicknessBottom int
- ThicknessLeft int
- ThicknessTop int
- ThicknessRight int
- RadiusBottomLeft int
- RadiusTopLeft int
- RadiusTopRight int
- RadiusBottomRight int
- Color Color
- }
- type Block struct {
- Display int
- Position int
- Float int
- Width int
- Height int
- Bottom int
- Left int
- Top int
- Right int
- Margin Margin
- Padding Padding
- Border Border
- }
|