Open romgrk opened 3 years ago
const rect = new Gsk.RoundedRect() const size = Graphene.Size.create(0, 0) rect.init( Graphene.Rect.create(0, 0, this.getAllocatedWidth(), this.getAllocatedHeight()), size, size, size, size ) snapshot.appendBorder( rect, [1, 1, 1, 1], [RED, RED, RED, RED] )
The border create by the above code doesn't receive the red color.
The border create by the above code doesn't receive the red color.