Border position

Available from: 2.0.0

Import


                                                        
                                                        
                                                            import { BorderPosition } from "@supernovaio/sdk"
                                                        
                                                            

Cases

The following enumeration cases are available:

  • inside: Represents the "Inside" border position. When applied, the border is drawn inside the boundaries of the element or shape, and it does not extend beyond the edges of the element.
  • center: Represents the "Center" border position. When applied, the border is drawn along the center of the element's boundaries, such that half of the border is inside the element, and half is outside.
  • outside: Represents the "Outside" border position. When applied, the border is drawn outside the boundaries of the element or shape, extending beyond the edges of the element.

Formal definition


                                                        
                                                        
                                                            enum BorderPosition {
                                                          inside = "Inside",
                                                          center = "Center",
                                                          outside = "Outside",
                                                        }