| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- 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
- Center bool
- }
- 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
- }
|