[]
        
首页
开发者学堂
文档
论坛
市场
生态机会
活动
立即试用
(Showing Draft Content)

ShapeType

Enum Class ShapeType

java.lang.Object
java.lang.Enum<ShapeType>
com.grapecity.documents.excel.drawing.ShapeType
All Implemented Interfaces:
Serializable, Comparable<ShapeType>, Constable

public enum ShapeType extends Enum<ShapeType>
指定形状的类型或形状的范围。
  • Enum Constant Details

    • AutoShape

      public static final ShapeType AutoShape
      指定自动形状类型。
    • Chart

      public static final ShapeType Chart
      指定图表类型。
    • Comment

      public static final ShapeType Comment
      指定注释类型。
    • CommentThreaded

      public static final ShapeType CommentThreaded
      指定单元格的线程注释类型。
    • Group

      public static final ShapeType Group
      指定组类型。
    • Picture

      public static final ShapeType Picture
      指定图片类型。
    • Slicer

      public static final ShapeType Slicer
      指定切片器类型。
    • FormControl

      public static final ShapeType FormControl
      指定 com.grapecity.documents.excel.forms.IControl 类型。
    • Callout

      public static final ShapeType Callout
      指定标注类型。
    • FreeForm

      public static final ShapeType FreeForm
      指定任意多边形类型。
    • TextBox

      public static final ShapeType TextBox
      指定文本框类型。
    • Graphic

      public static final ShapeType Graphic
      指定矢量图类型。
    • Line

      public static final ShapeType Line
      指定直线类型。
  • Method Details

    • values

      public static ShapeType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ShapeType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null