Resource Base
Table of contents

This documentation is deprecated. It applies only to legacy version 2.x of Capture Vision and must not be used for new development.

Please refer to the latest documentation and Migration Guide, which supersede this content.

DrawingStyle

The DrawingStyle class represents the style attributes of the drawing items, including stroke color, fill color, text color, stroke width, and font.

Definition

Assembly: package com.dynamsoft.dce

class DrawingStyle

Attributes

Method Description
getId Get the style ID.
setStrokeColor Set/get the stroke color.
getStrokeColor Set/get the stroke color.
setFillColor Set/get the fill color.
getFillColor Set/get the fill color.
setTextColor Set/get the text color.
getTextColor Set/get the text color.
setStrokeWidth Set/get the stroke width (in pixel).
getStrokeWidth Set/get the stroke width (in pixel).
setFontSize Set/get the font.
getFontSize Set/get the font.
setFontFamily Set/get the font.
getFontFamily Set/get the font.

getID

Get the style ID.

int getId(){}

setStrokeColor

Set/get the stroke color.

void setStrokeColor(int color){}

getStrokeColor

Set/get the stroke color.

int getStrokeColor(){}

setFillColor

Set/get the fill color.

void setFillColor(int color){}

getFillColor

Set/get the fill color.

int getFillColor(){}

setTextColor

Set/get the text color.

void setFillColor(int color){}

getTextColor

Set/get the text color.

int getTextColor(){}

setStrokeWidth

Set/get the stroke width (in pixel).

void setStrokeWidth(float width){}

getStrokeWidth

Set/get the stroke width (in pixel).

float getStrokeWidth(){}

setFontSize

Set/get the font.

void setFontSize(int size){}

getFontSize

Set/get the font.

int getFontSize(){}

setFontFamily

Set/get the font.

void setFontSize(int size){}

getFontFamily

Set/get the font.

String getFontFamily(){}

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: