Lines Matching defs:Border
26 // Border class.
30 // view->SetBorder(Border::CreateSolidBorder(1, SkColorSetRGB(25, 25, 112));
40 class VIEWS_EXPORT Border {
42 Border();
43 virtual ~Border();
45 // Convenience for creating a scoped_ptr with no Border.
46 static scoped_ptr<Border> NullBorder();
50 static scoped_ptr<Border> CreateSolidBorder(int thickness, SkColor color);
54 static scoped_ptr<Border> CreateEmptyBorder(int top,
61 static scoped_ptr<Border> CreateSolidSidedBorder(int top,
67 // Creates a Border from the specified Painter. The border owns the painter,
68 // thus the painter is deleted when the Border is deleted.
69 // |insets| define size of an area allocated for a Border.
70 static scoped_ptr<Border> CreateBorderPainter(Painter* painter,
80 // the same as the insets. For example, a Border may paint images to draw
88 DISALLOW_COPY_AND_ASSIGN(Border);