FPDFPageObj_SetDashArray function

  1. @Native<FPDF_BOOL Function(FPDF_PAGEOBJECT, Pointer<Float>, Size, Float)>(FPDF_PAGEOBJECT, ffi.Pointer<ffi.Float>, ffi.Size, ffi.Float)>()
int FPDFPageObj_SetDashArray(
  1. FPDF_PAGEOBJECT page_object,
  2. Pointer<Float> dash_array,
  3. int dash_count,
  4. double phase,
)

Experimental API. Set the line dash array of |page_object|.

page_object - handle to a page object. dash_array - the dash array. dash_count - number of elements in |dash_array|. phase - the line dash phase.

Returns TRUE on success.

Implementation

@ffi.Native<
  FPDF_BOOL Function(
    FPDF_PAGEOBJECT,
    ffi.Pointer<ffi.Float>,
    ffi.Size,
    ffi.Float,
  )
>()
external int FPDFPageObj_SetDashArray(
  FPDF_PAGEOBJECT page_object,
  ffi.Pointer<ffi.Float> dash_array,
  int dash_count,
  double phase,
);