...

Source file src/github.com/Azure/azure-sdk-for-go/services/preview/cognitiveservices/v1.0/inkrecognizer/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/preview/cognitiveservices/v1.0/inkrecognizer

     1  package inkrecognizer
     2  
     3  // Copyright (c) Microsoft Corporation. All rights reserved.
     4  // Licensed under the MIT License. See License.txt in the project root for license information.
     5  //
     6  // Code generated by Microsoft (R) AutoRest Code Generator.
     7  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
     8  
     9  // Application enumerates the values for application.
    10  type Application string
    11  
    12  const (
    13  	// Drawing ...
    14  	Drawing Application = "drawing"
    15  	// Mixed ...
    16  	Mixed Application = "mixed"
    17  	// Writing ...
    18  	Writing Application = "writing"
    19  )
    20  
    21  // PossibleApplicationValues returns an array of possible values for the Application const type.
    22  func PossibleApplicationValues() []Application {
    23  	return []Application{Drawing, Mixed, Writing}
    24  }
    25  
    26  // Category enumerates the values for category.
    27  type Category string
    28  
    29  const (
    30  	// InkBullet ...
    31  	InkBullet Category = "inkBullet"
    32  	// InkDrawing ...
    33  	InkDrawing Category = "inkDrawing"
    34  	// InkWord ...
    35  	InkWord Category = "inkWord"
    36  	// Line ...
    37  	Line Category = "line"
    38  	// Paragraph ...
    39  	Paragraph Category = "paragraph"
    40  	// Root ...
    41  	Root Category = "root"
    42  	// Unknown ...
    43  	Unknown Category = "unknown"
    44  	// WritingRegion ...
    45  	WritingRegion Category = "writingRegion"
    46  )
    47  
    48  // PossibleCategoryValues returns an array of possible values for the Category const type.
    49  func PossibleCategoryValues() []Category {
    50  	return []Category{InkBullet, InkDrawing, InkWord, Line, Paragraph, Root, Unknown, WritingRegion}
    51  }
    52  
    53  // Class enumerates the values for class.
    54  type Class string
    55  
    56  const (
    57  	// ClassContainer ...
    58  	ClassContainer Class = "container"
    59  	// ClassLeaf ...
    60  	ClassLeaf Class = "leaf"
    61  )
    62  
    63  // PossibleClassValues returns an array of possible values for the Class const type.
    64  func PossibleClassValues() []Class {
    65  	return []Class{ClassContainer, ClassLeaf}
    66  }
    67  
    68  // Container enumerates the values for container.
    69  type Container string
    70  
    71  const (
    72  	// ContainerLine ...
    73  	ContainerLine Container = "line"
    74  	// ContainerParagraph ...
    75  	ContainerParagraph Container = "paragraph"
    76  	// ContainerRoot ...
    77  	ContainerRoot Container = "root"
    78  	// ContainerWritingRegion ...
    79  	ContainerWritingRegion Container = "writingRegion"
    80  )
    81  
    82  // PossibleContainerValues returns an array of possible values for the Container const type.
    83  func PossibleContainerValues() []Container {
    84  	return []Container{ContainerLine, ContainerParagraph, ContainerRoot, ContainerWritingRegion}
    85  }
    86  
    87  // InputDevice enumerates the values for input device.
    88  type InputDevice string
    89  
    90  const (
    91  	// Armature ...
    92  	Armature InputDevice = "armature"
    93  	// ArticulatedArm ...
    94  	ArticulatedArm InputDevice = "articulatedArm"
    95  	// Digitizer ...
    96  	Digitizer InputDevice = "digitizer"
    97  	// LightPen ...
    98  	LightPen InputDevice = "lightPen"
    99  	// Pen ...
   100  	Pen InputDevice = "pen"
   101  	// StereoPlotter ...
   102  	StereoPlotter InputDevice = "stereoPlotter"
   103  	// ThreedDigitizer ...
   104  	ThreedDigitizer InputDevice = "3dDigitizer"
   105  	// TouchPad ...
   106  	TouchPad InputDevice = "touchPad"
   107  	// TouchScreen ...
   108  	TouchScreen InputDevice = "touchScreen"
   109  	// WhiteBoard ...
   110  	WhiteBoard InputDevice = "whiteBoard"
   111  )
   112  
   113  // PossibleInputDeviceValues returns an array of possible values for the InputDevice const type.
   114  func PossibleInputDeviceValues() []InputDevice {
   115  	return []InputDevice{Armature, ArticulatedArm, Digitizer, LightPen, Pen, StereoPlotter, ThreedDigitizer, TouchPad, TouchScreen, WhiteBoard}
   116  }
   117  
   118  // Kind enumerates the values for kind.
   119  type Kind string
   120  
   121  const (
   122  	// KindInkDrawing ...
   123  	KindInkDrawing Kind = "inkDrawing"
   124  	// KindInkWriting ...
   125  	KindInkWriting Kind = "inkWriting"
   126  )
   127  
   128  // PossibleKindValues returns an array of possible values for the Kind const type.
   129  func PossibleKindValues() []Kind {
   130  	return []Kind{KindInkDrawing, KindInkWriting}
   131  }
   132  
   133  // Leaf enumerates the values for leaf.
   134  type Leaf string
   135  
   136  const (
   137  	// LeafInkBullet ...
   138  	LeafInkBullet Leaf = "inkBullet"
   139  	// LeafInkDrawing ...
   140  	LeafInkDrawing Leaf = "inkDrawing"
   141  	// LeafInkWord ...
   142  	LeafInkWord Leaf = "inkWord"
   143  	// LeafUnknown ...
   144  	LeafUnknown Leaf = "unknown"
   145  )
   146  
   147  // PossibleLeafValues returns an array of possible values for the Leaf const type.
   148  func PossibleLeafValues() []Leaf {
   149  	return []Leaf{LeafInkBullet, LeafInkDrawing, LeafInkWord, LeafUnknown}
   150  }
   151  
   152  // RasterOp enumerates the values for raster op.
   153  type RasterOp string
   154  
   155  const (
   156  	// CopyPen ...
   157  	CopyPen RasterOp = "copyPen"
   158  	// MaskPen ...
   159  	MaskPen RasterOp = "maskPen"
   160  	// NoOperation ...
   161  	NoOperation RasterOp = "noOperation"
   162  )
   163  
   164  // PossibleRasterOpValues returns an array of possible values for the RasterOp const type.
   165  func PossibleRasterOpValues() []RasterOp {
   166  	return []RasterOp{CopyPen, MaskPen, NoOperation}
   167  }
   168  
   169  // Shape enumerates the values for shape.
   170  type Shape string
   171  
   172  const (
   173  	// ShapeBlockArrow ...
   174  	ShapeBlockArrow Shape = "blockArrow"
   175  	// ShapeCircle ...
   176  	ShapeCircle Shape = "circle"
   177  	// ShapeCloud ...
   178  	ShapeCloud Shape = "cloud"
   179  	// ShapeCurve ...
   180  	ShapeCurve Shape = "curve"
   181  	// ShapeDiamond ...
   182  	ShapeDiamond Shape = "diamond"
   183  	// ShapeDrawing ...
   184  	ShapeDrawing Shape = "drawing"
   185  	// ShapeEllipse ...
   186  	ShapeEllipse Shape = "ellipse"
   187  	// ShapeEquilateralTriangle ...
   188  	ShapeEquilateralTriangle Shape = "equilateralTriangle"
   189  	// ShapeHeart ...
   190  	ShapeHeart Shape = "heart"
   191  	// ShapeHexagon ...
   192  	ShapeHexagon Shape = "hexagon"
   193  	// ShapeIsoscelesTriangle ...
   194  	ShapeIsoscelesTriangle Shape = "isoscelesTriangle"
   195  	// ShapeLine ...
   196  	ShapeLine Shape = "line"
   197  	// ShapeParallelogram ...
   198  	ShapeParallelogram Shape = "parallelogram"
   199  	// ShapePentagon ...
   200  	ShapePentagon Shape = "pentagon"
   201  	// ShapePolyLine ...
   202  	ShapePolyLine Shape = "polyLine"
   203  	// ShapeQuadrilateral ...
   204  	ShapeQuadrilateral Shape = "quadrilateral"
   205  	// ShapeRectangle ...
   206  	ShapeRectangle Shape = "rectangle"
   207  	// ShapeRightTriangle ...
   208  	ShapeRightTriangle Shape = "rightTriangle"
   209  	// ShapeSquare ...
   210  	ShapeSquare Shape = "square"
   211  	// ShapeStarCrossed ...
   212  	ShapeStarCrossed Shape = "starCrossed"
   213  	// ShapeStarSimple ...
   214  	ShapeStarSimple Shape = "starSimple"
   215  	// ShapeTrapezoid ...
   216  	ShapeTrapezoid Shape = "trapezoid"
   217  	// ShapeTriangle ...
   218  	ShapeTriangle Shape = "triangle"
   219  )
   220  
   221  // PossibleShapeValues returns an array of possible values for the Shape const type.
   222  func PossibleShapeValues() []Shape {
   223  	return []Shape{ShapeBlockArrow, ShapeCircle, ShapeCloud, ShapeCurve, ShapeDiamond, ShapeDrawing, ShapeEllipse, ShapeEquilateralTriangle, ShapeHeart, ShapeHexagon, ShapeIsoscelesTriangle, ShapeLine, ShapeParallelogram, ShapePentagon, ShapePolyLine, ShapeQuadrilateral, ShapeRectangle, ShapeRightTriangle, ShapeSquare, ShapeStarCrossed, ShapeStarSimple, ShapeTrapezoid, ShapeTriangle}
   224  }
   225  
   226  // Tip enumerates the values for tip.
   227  type Tip string
   228  
   229  const (
   230  	// Ellipse ...
   231  	Ellipse Tip = "ellipse"
   232  	// Rectangle ...
   233  	Rectangle Tip = "rectangle"
   234  )
   235  
   236  // PossibleTipValues returns an array of possible values for the Tip const type.
   237  func PossibleTipValues() []Tip {
   238  	return []Tip{Ellipse, Rectangle}
   239  }
   240  
   241  // Unit enumerates the values for unit.
   242  type Unit string
   243  
   244  const (
   245  	// Cm ...
   246  	Cm Unit = "cm"
   247  	// In ...
   248  	In Unit = "in"
   249  	// Mm ...
   250  	Mm Unit = "mm"
   251  )
   252  
   253  // PossibleUnitValues returns an array of possible values for the Unit const type.
   254  func PossibleUnitValues() []Unit {
   255  	return []Unit{Cm, In, Mm}
   256  }
   257  

View as plain text