NinePatchRect.regionRect

Rectangular region of the texture to sample from. If you're working with an atlas, use this property to define the area the 9-slice should use. All other properties are relative to this one. If the rect is empty, NinePatchRect will use the whole texture.

  1. Rect2 regionRect [@property getter]
    struct NinePatchRect
    @nogc nothrow @property
    Rect2
    regionRect
    ()
  2. Rect2 regionRect [@property setter]

Meta