I try this but not working
Widget.prototype = $.extend(new Annotations.RadioButtonWidgetAnnotation(), {
elementName: 'button',
draw: function(ctx) {
}
});
this only work with Annotations.MarkupAnnotation class, because (i think) the class .RadioButtonWidgetAnnotatio not extend MarkupAnnotation. Please help me to draw a RadioButton. Thank