<lcAreaShape2>

The <lcAreaShape2> element defines the shape of a linkable hotspot in a learning image. This element replaces the <lcAreaShape> element in DITA 1.2.

The <lcAreaShape2> element supports these values:
rect
Define a rectangular region. If you leave the <lcAreaShape2> element blank, this is assumed.
circle
Define a circular region.
poly
Define a polygonal region.
default
Indicates the entire diagram.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

+ topic/keyword learningInteractionBase2-d/keyword learning2-d/lcAreaShape2

Example

   <!--Hotspot Interaction    -->
   <lcHotspot2>
    <lcInteractionLabel2>Team logos hotspot</lcInteractionLabel2>
    <lcQuestion2>Which of the following is the logo for the Minnesota Twins?</lcQuestion2>
    <lcHotspotMap2>
     <image href="hotlogos.gif"/>
     <lcArea2 id="twins">
      <lcAreaShape2>rect</lcAreaShape2>
      <lcAreaCoords2>0,0,50,50</lcAreaCoords2>
      <lcCorrectResponse2 value="twins"/>
      <lcFeedback2>Yes.</lcFeedback2>
     </lcArea2>
     <lcArea2 id="giants">
      <lcAreaShape2>rect</lcAreaShape2>
      <lcAreaCoords2>50,0,100,50</lcAreaCoords2>
      <lcFeedback2>No.</lcFeedback2>
     </lcArea2>
     <lcArea2 id="cardinals">
      <lcAreaShape2>rect</lcAreaShape2>
      <lcAreaCoords2>0,50,50,100</lcAreaCoords2>
      <lcFeedback2>No.</lcFeedback2>
     </lcArea2>
     <lcArea2 id="orioles">
      <lcAreaShape2>rect</lcAreaShape2>
      <lcAreaCoords2>50,50,100,100</lcAreaCoords2>
      <lcFeedback2>No.</lcFeedback2>
     </lcArea2>
    </lcHotspotMap2>
   </lcHotspot2>

Attributes

The following attributes are available on this element: Universal attribute group (with a narrowed definition of @translate, given below), outputclass, and @keyref.

@translate
Indicates whether the content of the element should be translated or not. For this element the default value is "no". Setting to "yes" will override the default. The DITA architectural specification contains a list of each OASIS DITA element and its common processing default for the translate value; because this element uses an actual default, it will always be treated as translate="no" unless overridden as described. Available values are:
no
The content of this element is not translateable.
yes
The content of this element is translateable.
-dita-use-conref-target
See Using the -dita-use-conref-target value for more information.