Example #1
0
        public ReaderStyle Copy()
        {
            var style = new ReaderStyle();

            style.FontFamily          = FontFamily;
            style.FontSize            = FontSize;
            style.TextIndent          = TextIndent;
            style.Foreground          = Foreground;
            style.Background          = Background;
            style.LineHeight          = LineHeight;
            style.Padding             = Padding;
            style.SegmentSpacing      = SegmentSpacing;
            style.IsAcrylicBackground = IsAcrylicBackground;
            return(style);
        }
Example #2
0
        public ReaderStyle Copy()
        {
            var style = new ReaderStyle();

            style.FontFamily          = FontFamily;
            style.FontSize            = FontSize;
            style.TextIndent          = TextIndent;
            style.Foreground          = Foreground;
            style.Background          = Background;
            style.LineHeight          = LineHeight;
            style.Padding             = Padding;
            style.SegmentSpacing      = SegmentSpacing;
            style.IsAcrylicBackground = IsAcrylicBackground;

            style.ListGutterWidth       = ListGutterWidth;
            style.HeaderLineColor       = HeaderLineColor;
            style.BlockquoteBorderColor = BlockquoteBorderColor;

            style.HeaderFontSize = HeaderFontSize;
            style.HeaderMargin   = HeaderMargin;

            return(style);
        }
 public HtmlHelper(List <EpubByteFile> images, ReaderStyle style)
 {
     Images = images;
     Style  = style;
 }