R/textmulti.R

##==============================================================================
# textmulti: One or several lines of text,  in a multi-angular box
##==============================================================================

textmulti <- function (mid, radx, rady=radx*length(lab), lwd=1,
    shadow.size=0.01, adj=c(0.5, 0.5), lab="", box.col="white",
    lcol="black", shadow.col="grey", angle=0, nr=6, ...)  {

  shadowbox("multi", mid=mid, radx=radx, rady=rady,
            shadow.size=shadow.size, shadow.col=shadow.col, box.col=box.col,
            lcol=lcol, lwd=lwd, nr=nr, angle=angle)
  textplain(mid=mid, height=rady, lab=lab, adj=adj, ...)

}

Try the diagram package in your browser

Any scripts or data that you put into this service are public.

diagram documentation built on Oct. 23, 2020, 5:46 p.m.