Resource Base
Table of contents

ArcDrawingItem

The ArcDrawingItem class is a subclass of DrawingItem. It represents a drawing item that draws Arcs on the view.

Definition

Assembly: package com.dynamsoft.dce

class ArcDrawingItem extends DrawingItem

Methods

Method Description
getCentre Get the centre of the ArcDrawingItem.
getRadius Get the radius of the DrawingItem.
getMediaType Get the media type of the DrawingItem.
ArcDrawingItem Create an instance of ArcDrawingItem.
ArcDrawingItem(coordinateBase) Create an instance of ArcDrawingItem and set the coordinate base.

Interited Methods

The following methods are inherited from the superclass DrawingItem.

Method Description
setDrawingStyleId Set the DrawingStyle of the DrawingItem. If a DrawingItem holds a drawing style ID, it will not use the default style of its layer.
getDrawingStyleId Get the DrawingStyle of the DrawingItem.
setState Set the state of the DrawingItem.
getState Get the state of the DrawingItem.
getCoordinateBase Get the coordinate base of the DrawingItem. The coordinate base is image by default.
getMediaType Get the media type of the DrawingItem.
addNote Add a note to the DrawingItem.
getNote Get the specified Note.
hasNote Check whether the specified Note exists.
updateNote Update the content of the specified Note.
deleteNote Remove the specified Note with the specified name.
getAllNotes Get all Notes of this DrawingItem.
clearNotes Remove all Notes of this DrawingItem.

getCentre

Get the centre of the ArcDrawingItem.

android.graphics.Point getCentre(){}

getRadius

Get the radius of the DrawingItem.

int getRadius(){}

getMediaType

Get the media type of the DrawingItem.

EnumDrawingItemMeidaType getMediaType;

ArcDrawingItem(centre, radius)

Create an instance of ArcDrawingItem.

ArcDrawingItem(Point centre, int radius){}

Parameters

centre: The centre of the ArcDrawingItem.

radius: The radius of the ArcDrawingItem.

Return Value

An instance of ArcDrawingItem.

ArcDrawingItem(centre, radius, coordinateBase)

Create an instance of ArcDrawingItem.

ArcDrawingItem(Point centre, int radius, EnumCoordinateBase coordinateBase){}

Parameters

centre: The centre of the ArcDrawingItem.

radius: The radius of the ArcDrawingItem.

coordinateBase: The coordinate base of the ArcDrawingItem.

Return Value

An instance of ArcDrawingItem.

Is this page helpful?

YesYes NoNo

In this article: