Class LatexViewFactory

  • All Implemented Interfaces:
    LatexConstants, PicObjectConstants, ViewFactory

    public class LatexViewFactory
    extends EepicViewFactory
    implements LatexConstants
    Creates a View for a given Element when the underlying content type is the LaTeX-picture environment.
    Since:
    jPicEdt 1.3.2
    Version:
    $Id: LatexViewFactory.java,v 1.10.2.1 2007/09/02 11:55:13 reynal Exp $

    Author:
    Sylvain Reynal
    • Field Detail

      • LATEX_STROKE

        protected static final java.awt.Color LATEX_STROKE
        color for outlines
      • LATEX_FILL

        protected static final java.awt.Color LATEX_FILL
        color for interior
    • Constructor Detail

      • LatexViewFactory

        public LatexViewFactory()
    • Method Detail

      • configure

        public static void configure​(java.util.Properties preferences)
        Configure static fields using the given Properties object
        Parameters:
        properties - used to read shared parameters If null, default values are used.
      • createPaintForInterior

        protected java.awt.Paint createPaintForInterior​(PicAttributeSet set)
        Returns LATEX_FILL, ie black filling only is allowed.
        Overrides:
        createPaintForInterior in class EepicViewFactory
        Returns:
        a Paint from the given attributes, suited for painting "interior"