Class RadioButton
Creates a RadioButton, which can be set selected or unselected.
public class RadioButton : IDrawable
- Inheritance
-
RadioButton
- Implements
- Inherited Members
Constructors
RadioButton(Font, string)
Creates a RadioButton that is not selected.
public RadioButton(Font font, string label)
Parameters
Methods
DrawOn(Page)
Draws this RadioButton on the specified Page.
public float[] DrawOn(Page page)
Parameters
pagePagethe page to draw on.
Returns
- float[]
x and y coordinates of the bottom right corner of this component.
Select(bool)
Selects or deselects this radio button.
public RadioButton Select(bool selected)
Parameters
selectedboolthe selection flag.
Returns
- RadioButton
this RadioButton.
SetActualText(string)
Sets the actual text for this radio button.
public RadioButton SetActualText(string actualText)
Parameters
actualTextstringthe actual text for the radio button.
Returns
- RadioButton
this RadioButton.
SetAltDescription(string)
Sets the alternate description of this radio button.
public RadioButton SetAltDescription(string altDescription)
Parameters
altDescriptionstringthe alternate description of the radio button.
Returns
- RadioButton
this RadioButton.
SetFontSize(float)
Sets the size of the label text. The font keeps its own size.
public RadioButton SetFontSize(float fontSize)
Parameters
fontSizefloatthe fontSize to use.
Returns
- RadioButton
this RadioButton.
SetLocation(float, float)
Set the x,y location on the Page.
public RadioButton SetLocation(float x, float y)
Parameters
Returns
- RadioButton
this RadioButton.
SetURIAction(string)
Sets the URI for the "click text line" action.
public RadioButton SetURIAction(string uri)
Parameters
uristringthe URI.
Returns
- RadioButton
this RadioButton.