pub fn border(
        &mut self,
        h_radius: f32,
        v_radius: f32,
        width: f32,
        dash_pattern: Option<&[f32]>,
    ) -> &mut Self {
        let mut array = self.insert(Name(b"Border")).array();
        array.item(h_radius);
        array.item(v_radius);
        array.item(width);

        if let Some(pattern) = dash_pattern {
            array.push().array().items(pattern);
        }

        array.finish();
        self
    }
/// Write the `/Border` attribute. This describes the look of the border
/// around the annotation, including width and horizontal and vertical
/// border radii. The function may also receive a dash pattern which
/// specifies the lengths and gaps of the border segments on a dashed
/// border. Although all PDF versions accept `/Border`, this feature
/// specifically is only available in PDF 1.1 or later.
Write the `/Border` attribute. This describes the look of the border
around the annotation, including width and horizontal and vertical
border radii. The function may also receive a dash pattern which
specifies the lengths and gaps of the border segments on a dashed
border. Although all PDF versions accept `/Border`, this feature
specifically is only available in PDF 1.1 or later.
Write the ` / Border ` attribute . This describes the look of the border around the annotation including width and horizontal and vertical border radii . The function may also receive a dash pattern which specifies the lengths and gaps of the border segments on a dashed border . Although all PDF versions accept ` / Border ` this feature specifically is only available in PDF 1 . 1 or later .
pub fn border(
        &mut self,
        h_radius: f32,
        v_radius: f32,
        width: f32,
        dash_pattern: Option<&[f32]>,
    ) -> &mut Self {
        let mut array = self.insert(Name(b"Border")).array();
        array.item(h_radius);
        array.item(v_radius);
        array.item(width);
        if let Some(pattern) = dash_pattern {
            array.push().array().items(pattern);
        }
        array.finish();
        self
    }
pub fn border ( & mut self , h_radius : f32 , v_radius : f32 , width : f32 , dash_pattern : Option < & [ f32 ] > , ) -> & mut Self { let mut array = self . insert ( Name ( b" " ) ) . array ( ) ; array . item ( h_radius ) ; array . item ( v_radius ) ; array . item ( width ) ; if let Some ( pattern ) = dash_pattern { array . push ( ) . array ( ) . items ( pattern ) ; } array . finish ( ) ; self }
Write the `/Border` attribute.
Write the ` / Border ` attribute .
&mut self
h_radius
f32
v_radius
f32
width
f32
dash_pattern
Option<&[f32]>
&mut self
h_radius
f32
v_radius
f32
width
f32
dash_pattern
Option<&[f32]>