DsPdfJS API - v9.1.0
    Preparing search index...

    Type Alias DrawEllipseOptions

    Provides options for drawing and filling an ellipse.

    type DrawEllipseOptions = {
        brushBounds?: Bounds;
        brushTransform?: Transform | null;
        fillBrush?: Brush | null;
        fillColor?: Color;
        lineCap?: PenLineCap;
        lineColor?: Color;
        lineJoin?: PenLineJoin;
        lineStyle?: DashStyle;
        lineWidth?: number;
        strokePen?: Pen | null;
    }
    Index

    Properties

    brushBounds?: Bounds

    The optional bounds for the fill brush.

    brushTransform?: Transform | null

    The transformation applied to the brush.

    fillBrush?: Brush | null

    A reference to the brush to fill the interior of the ellipse. This property has a priority over the DrawEllipseOptions.fillColor.

    fillColor?: Color

    The color to fill the interior of the ellipse. This property is ignored if the DrawEllipseOptions.fillBrush is assigned.

    lineCap?: PenLineCap

    The line cap style specifies the shape to be used at the ends of open subpaths (and dashes, if any) when they are stroked. Overrides the existing value if DrawEllipseOptions.strokePen is specified.

    lineColor?: Color

    The color of the ellipse outline. Overrides the existing value if DrawEllipseOptions.strokePen is specified.

    lineJoin?: PenLineJoin

    The line join style specifies the shape to be used at the corners of line segments. Overrides the existing value if DrawEllipseOptions.strokePen is specified.

    lineStyle?: DashStyle

    The style of dashed pen to draw the ellipse outline. Overrides the existing value if DrawEllipseOptions.strokePen is specified.

    lineWidth?: number

    The width of the line pen to draw the ellipse outline, in units used for drawing. Overrides the existing value if DrawEllipseOptions.strokePen is specified.

    strokePen?: Pen | null

    A reference to the pen to draw the ellipse outline.