Every line of 'script border' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Go code is secure.
21 func (*HTMLFrameElement) Border() (border string) { 22 js.Rewrite("$<.border") 23 return border 24 }
69 func Border(ls linestyle.LineStyle) ContentOption { 70 return contentOption(func(cOpts *contentOptions) { 71 cOpts.border = ls 72 }) 73 }
383 func (ss *styleSheet) addBorderIfRequired(border *ml.Border) int { 384 //if there is no information, then use default 385 if border == nil { 386 return 0 387 } 388 389 //return id of already existing information 390 if id, ok := ss.borderIndex.Get(border); ok { 391 return id 392 } 393 394 //add a new one and return related id 395 nextID := len(ss.ml.Borders.Items) 396 ss.ml.Borders.Items = append(ss.ml.Borders.Items, border) 397 _ = ss.borderIndex.Add(border, nextID) 398 ss.file.MarkAsUpdated() 399 return nextID 400 }
196 func (mw *MagickWand) BorderImage(borderColor *PixelWand, width, height uint) error { 197 C.MagickBorderImage(mw.wand, borderColor.pixel, C.size_t(width), C.size_t(height)) 198 return mw.GetLastError() 199 }
141 func (t *TableCellAttributes) Border(b Border) *TableCellAttributes { 142 t.put(fo.BorderRight, b.String(), nil) 143 t.put(fo.BorderLeft, b.String(), nil) 144 t.put(fo.BorderTop, b.String(), nil) 145 t.put(fo.BorderBottom, b.String(), nil) 146 return t 147 }
436 func (decl CSSStyleDeclaration) SetBorderWidth(value string, important bool) { 437 decl.Set("border-width", value, important) 438 }
428 func (*HTMLFrameSetElement) Border() (border string) { 429 macro.Rewrite("$_.border") 430 return border 431 }
377 func (c *tableViewImpl) SetBorder(width int) { 378 c.SetIAttr("border", width) 379 }