def get_edit_points(self, viewer): move_pt, scale_pt, rotate_pt = self.get_move_scale_rotate_pts(viewer) points = self.get_data_points( points=(self.crdmap.offset_pt((self.x, self.y), (self.radius, 0)), )) return [ move_pt, ScalePoint(*points[0]), rotate_pt, ]
def get_edit_points(self, viewer): points = ( (self.x, self.y), self.crdmap.offset_pt((self.x, self.y), (self.radius, 0)), self.crdmap.offset_pt((self.x, self.y), (self.radius + self.width, 0)), ) points = self.get_data_points(points=points) return [ MovePoint(*points[0]), ScalePoint(*points[1]), Point(*points[2]) ]
def get_edit_points(self, viewer): c_pt, n_pt, e_pt = self.get_points() return [MovePoint(*c_pt), ScalePoint(*n_pt), ScalePoint(*e_pt)]