rotate

Rotate a view at an arbitrary angle (specified in radians), around the specified point. Rotated points that fall outside of the specified view resolve to defaultColor.

  1. auto rotate(V src, double angle, COLOR defaultColor, double ox, double oy)
    rotate
    (
    V
    COLOR
    )
    (
    auto ref V src
    ,
    double angle
    ,,
    double ox
    ,
    double oy
    )
    if (
    isView!V &&
    is(COLOR : ViewColor!V)
    )
  2. auto rotate(V src, double angle, COLOR defaultColor)

Meta