iTextSharp.text.pdf.PdfShading.SimpleRadial C# (CSharp) Метод

SimpleRadial() публичный статический Метод

public static SimpleRadial ( PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, BaseColor startColor, BaseColor endColor, bool extendStart, bool extendEnd ) : PdfShading
writer PdfWriter
x0 float
y0 float
r0 float
x1 float
y1 float
r1 float
startColor iTextSharp.text.BaseColor
endColor iTextSharp.text.BaseColor
extendStart bool
extendEnd bool
Результат PdfShading
        public static PdfShading SimpleRadial(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, BaseColor startColor, BaseColor endColor, bool extendStart, bool extendEnd)
        {
            CheckCompatibleColors(startColor, endColor);
            PdfFunction function = PdfFunction.Type2(writer, new float[]{0, 1}, null, GetColorArray(startColor),
                GetColorArray(endColor), 1);
            return Type3(writer, startColor, new float[]{x0, y0, r0, x1, y1, r1}, null, function, new bool[]{extendStart, extendEnd});
        }

Same methods

PdfShading::SimpleRadial ( PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, BaseColor startColor, BaseColor endColor ) : PdfShading