implemented straming features of RectShape