valid.just               package:grid               R Documentation

_V_a_l_i_d_a_t_e _a _J_u_s_t_i_f_i_c_a_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     This utility function is useful for determining whether a
     justification specification is valid. An error is given if the
     justification is not valid.

_U_s_a_g_e:

     valid.just(just)

_A_r_g_u_m_e_n_t_s:

    just: A justification either as a character value, e.g., '"left"',
          or as a numeric value, e.g., 0.

_D_e_t_a_i_l_s:

     This function is useful within a 'validDetails' method when
     writing a new grob class.

_V_a_l_u_e:

     A numeric representation of the justification (e.g., '"left"'
     becomes 0, '"right"' becomes 1, etc, ...).

_A_u_t_h_o_r(_s):

     Paul Murrell

