Class DrawParamCache

java.lang.Object
org.ofdrw.layout.element.canvas.DrawParamCache

@Deprecated public class DrawParamCache extends Object
Deprecated.
通过资源管理解决绘制参数重复问题,该缓存结构冗余因此弃用。
绘制参数缓存
Since:
2020-05-18 20:45:32
Author:
权观宇
  • Constructor Details

    • DrawParamCache

      public DrawParamCache()
      Deprecated.
  • Method Details

    • getID

      public org.ofdrw.core.basicType.ST_ID getID()
      Deprecated.
    • setRelative

      public DrawParamCache setRelative(org.ofdrw.core.basicType.ST_RefID relative)
      Deprecated.
    • getRelative

      public org.ofdrw.core.basicType.ST_RefID getRelative()
      Deprecated.
    • setLineWidth

      public DrawParamCache setLineWidth(Double lineWidth)
      Deprecated.
    • getLineWidth

      public Double getLineWidth()
      Deprecated.
    • setJoin

      public DrawParamCache setJoin(org.ofdrw.core.pageDescription.drawParam.LineJoinType join)
      Deprecated.
    • getJoin

      public org.ofdrw.core.pageDescription.drawParam.LineJoinType getJoin()
      Deprecated.
    • setCap

      public DrawParamCache setCap(org.ofdrw.core.pageDescription.drawParam.LineCapType cap)
      Deprecated.
    • getCap

      public org.ofdrw.core.pageDescription.drawParam.LineCapType getCap()
      Deprecated.
    • setDashOffset

      public DrawParamCache setDashOffset(Double dashOffset)
      Deprecated.
    • getDashOffset

      public Double getDashOffset()
      Deprecated.
    • setDashPattern

      public DrawParamCache setDashPattern(org.ofdrw.core.basicType.ST_Array dashPattern)
      Deprecated.
    • getDashPattern

      public org.ofdrw.core.basicType.ST_Array getDashPattern()
      Deprecated.
    • setMiterLimit

      public DrawParamCache setMiterLimit(Double miterLimit)
      Deprecated.
    • getMiterLimit

      public Double getMiterLimit()
      Deprecated.
    • setFillColor

      public DrawParamCache setFillColor(int[] fillColor)
      Deprecated.
    • getFillColor

      public int[] getFillColor()
      Deprecated.
    • setStrokeColor

      public DrawParamCache setStrokeColor(int[] strokeColor)
      Deprecated.
    • getStrokeColor

      public int[] getStrokeColor()
      Deprecated.
    • addToResource

      public org.ofdrw.core.basicType.ST_ID addToResource(ResManager resManager)
      Deprecated.
      构造绘制参数并加入资源中

      如果绘制参数内部属性没有修改过,那么不会重复加入资源

      Parameters:
      resManager - 资源管理器
      Returns:
      绘制参数对象
    • clone

      public DrawParamCache clone()
      Deprecated.
      Overrides:
      clone in class Object